How Are Terrestrial Planets Made