Final Answer:
Heat can melt metamorphic rocks into magma, which solidifies to form igneous rocks.
Step-by-step explanation:
The student's experiment mimics the processes of the rock cycle using wax shavings as an analogy for rocks. Piling different colored wax represents the variety of rock types. Squeezing and folding the wax simulate the effects of pressure and deformation in the Earth's crust, leading to the formation of metamorphic rocks. Heating the wax until it melts replicates the process of melting in the rock cycle.
In this experiment, the heating step represents the metamorphic-to-igneous transition, where heat can melt metamorphic rocks into magma. Upon cooling overnight, the melted wax solidifies, resembling the formation of igneous rocks from the cooling of magma.