Johannes Kepler and his laws were a great influence on Isaac Newton. Newton came up with a law of gravity, which states that masses attract each other with a force inversely proportional to the square of the distance between them. Newton used his laws of gravity and motion to derive Kepler’s laws and show that the motion of the planets could be explained using mathematics and physics.