Explain how Newton developed a theory to explain why the planets moved according to Kepler’s laws of planetary motion.