which processes contribute to the formation of rock at point r? check all that apply

compacting of sediments on the mountain

cooling as the lava runs down the mountain

melting of rocks to form magma underground

weathering of the mountain from the environment

eroding of different rocks at the base of the mountain