How and Where Rocks Are Formed: Comprehensive Guide to Igneous, Sedimentary, and Metamorphic Processes