I am assuming there is more to this question such as A. B. C. or D- since you said "which".?!
The second step of the rock cycle is crystallization; the process where liquid rock cools to become minerals/crystals.
erosion
Compaction is a step in the creation of detrital sedimentary rock, those formed from the lithification of sediments.
erosion
Weathering and erosion.
Erosion of igneous and metamorphic rock
The previous step is usually given as transport of eroded rock.
The step right before is when erosion breaks down rock.
Metamorphism?
The previous step is usually given as transport of eroded rock.
The step right before is when erosion breaks down rock.
Heat and pressure