Question: what is the relationship between the distance a planet is from the sun and its year?
Answer: Kepler's third law of planetary motion says that the square of the planet's orbital period is proportional to the cube of its semimajor axis. For now, just read that as saying that a planet's 'year' is determined ONLY by its average distance from the Sun.