How Was The Solar System Formed