Question: how are the inner planets formed?
Answer: As the disk of gas and dust cooled, matter condensed, and planets formed through the process of accretion—dust grains collided with each other to form clumps, which in turn collided to form larger and larger bodies. Small objects in the solar system are known as planetesimals.