What are the steps in the rock cycle that show how magma could become a specific type of rock?

1. Magma cools and forms a igneous rock.

2. Heat and pressure compress the rock formed from magma.

3. The grains in the rock press together to form layers.