Complex sentence: Basalts formed from molten rocks that cooled on the surface and they originated from the partial melting of the upper mantle.
Split into simpler sentences: Basalts formed from molten rocks that cooled on the surface. They originated from the partial melting of the upper mantle.