When magma solidifies it forms ______ rocks. If a pre-existing rock is exposed to extreme heat or pressure its physical properties can change, forming a(n) ______ rock. Rocks derived from the weathered grans of other pre-existing rocks through lithification are ______ rocks.