Answer:
pressure and heat- sedimentary
cooling magma- extrusive igneous rock
cooling lava-intriusive igneous rock
#answerwithquality #BAL