which two types of rock could form after other rock melts into liquid magma

a. sedimentary
b. metamorphic
c. extrusive igneous
d. intrusive igneous