The nebular hypothesis explains the formation of which of the following?