Hooke, Halley, and Newton’s Work on Orbits and Gravitation