Formation of Earth and Planets