So, as a magma chamber cools the minerals with the highest melting point crystallize first.
(a magma chamber; cools; ) (the minerals with the highest melting point; crystallize; T:first; T:as a magma chamber cools)
a magma chamber the minerals with the highest melting point
cools crystallize
T:first T:as a magma chamber cools