Given a scientific passage and an answer, generate a question for the given answer.

Passage: The composition of the magma determines if the rock is mafic, felsic, or intermediate. Answer: intermediate
The composition of the magma determines if the rock is mafic, felsic, or what?