Newton learned that the orbits of planets are the results of what two forces?

Newton learned that the orbits of planets are the results of what two forces?