How can an igneous rock turn into a sedimentary rock?

A. through cementation, pressure and erosion
B. through erosion, pressure and cementation
C. though erosion, heat and pressure
D. through heat, erosion and pressure

B. through erosion, pressure and cementation