How did the Moon appear, according to the giant collision theory?

It was formed after Earth collided with the hypothetical planet Theia

**********