Question: Which condition is necessary for metamorphic rocks to form?

What is the correct answer to the question from the following choices?
OPTIONS:
- constant weathering and erosion
- extreme pressure and heating
- rapid burial of sediments
- slow cooling of magma
extreme pressure and heating