This implies that as the magma was flowing as it was cooling and forming minerals.
(This; implies; ) (the magma; was flowing; ) (it; was cooling; ) (it; forming; minerals)
This the magma it it
implies was flowing was cooling forming
minerals