How is the planets year related to its distance from the sun?
The gravity of the sun (Sol) moves the planets faster when they are closer (Sir Isaac Newton figured this out a few hundred years ago). Gravity diminishes with the square of the distance. That coupled with the fact that the farther from Sol, the longer your orbit is going to be- roughly pi times the average diameter, makes the sun the main factor in the length of the year.