Based on the diagram, what rock is formed due to high heat and pressure?

Based on the diagram, the rock formed due to high heat and pressure is the metamorphic rock.