How were the planets in the solar system formed? (1 point)

The remaining materials from the sun's formation clumped together due to gravity.
The dust particles were attracted by gravity from distant galaxies.
The gas particles released by the sun were pulled away and became solid.
The solid materials were forced out of the sun's disc and cooled down.

The remaining materials from the sun's formation clumped together due to gravity.