Select the major rock-forming minerals.
How are minerals formed in igneous rocks and metamorphic rocks?