The magma then cooled off to form a solid igneous rock.
(The magma; cooled off; to form a solid igneous rock; T:then) (The magma; to form; a solid igneous rock)
The magma The magma
cooled off to form
to form a solid igneous rock T:then
a solid igneous rock