Firstly, igneous rocks are formed when magmas are cooled and hardened.
(igneous rocks; are formed; T:when magmas are cooled and hardened) (magmas; are cooled; ) (magmas; hardened; )
igneous rocks magmas magmas
are formed are cooled hardened
T:when magmas are cooled and hardened