Rob's right, there's no way that people can provide a scholarly dissertation on planetary formation in a forum post. If you're happy to follow a link, here's one I recommend. It contains a thorough brief and links to peer-reviewed sources. If you're really interested in the subject and willing to learn, this is a good start for your reading material but there's nothing better than formal education. Reach out to your local Adult Learning providers.
Sum ergo sum