Kepler’s three law is the answer. Kepler’s 3 is the amount of time it takes to orbit the sun is related to size and distance. Kepler’s 3 is one of the planetary motion and can be stated as all planets move in elliptical orbits, having the sun sits at one of the foci.