Answer:
Volcanic activity- Igneous, such as granite, basalt, or obsidian
Heat and pressure of already formed rock- Metamorphic, such as slate or marble
Layers of sediment, sand, and silt under pressure- Sedimentary- such as shale, limestone, or sandstone
Explanation:
It takes thousands to millions of years for these to form (except maybe for igneous rocks, because the magma or lava just has to cool).
Those were parts of the rock cycle that changes the rocks.
Please Mark this Brainliest!