sedimentary
Metamorphic Rocks is the answer to your question.
intrusive igneous rocks
About 100 miles
Here are the steps of formation of our planet Earth: