Which process forms sedimentary rock in the rock cycle after sediments accumulate and combine?

Sediments undergo heat and pressure.
Sedimentary rock weathers and erodes.
Sediments compact and cement together.
Sedimentary rock experiences cooling and melting.

The process that forms sedimentary rock in the rock cycle after sediments accumulate and combine is when the sediments compact and cement together.