Formation of Planets, Stars, and Solar Systems