The answer for this question is: The factor that is MOST important in determining which minerals will form in a rock D) The composition of the rock. This is because minerals actually exist as different chemical compounds. By knowing the chemical compounds present in a rock, you can find out what type of mineral is present as well.