Answer:
Clastic sedimentary rocks are made up of pieces (clasts) of pre-existing rocks. Pieces of rock are loosened by weathering, then transported to some basin or depression where sediment is trapped. If the sediment is buried deeply, it becomes compacted and cemented, forming sedimentary rock.
Magma forms from the partial melting of mantle rocks. These little blobs of melt migrate upward and coalesce into larger volumes that continue to move upward. As they rise, gas molecules in the magma come out of solution and form bubbles and as the bubbles rise they expand (as outside pressure gets lower).
Step-by-step explanation:
Hope this answers your question!