A rock formed from liquid magma at temperatures above 1000 degrees Celsius and then cooled and hardened. What type of rock is it?