which rock type forms by the melting and solidification of magma
Extrusive igneous rock is formed from the solidification of  lava.   Intrusive igneous rock is formed from the solidification of  magma.
Molten rock that flows beneath the earth's surface and is made up of gases, liquids, and crystals. When magma reaches the surface, it is called lava. Marble. A type of metamorphic rock formed when limestone is pushed down into the earth and subjected to intense heat and pressure for a long period of time. Melting. The process that turns any rock into magma. Melting a rock requires extremely high temperatures, which only occur far beneath the earth's surface. Metamorphic Rock. One of the three main rock types, formed deep within the earth, where rock material is subjected to intense heat and pressure (squeezing).