Medium
Rocks are classified as Igneous, Sedimentary and Metamorphic based on:
Rocks are classified into these three categories according to how they were formed (from magma, from sediment deposition, or from transformation under heat/pressure).
Re-check your working by substituting the answer back into the original question.