Question: what is the relationship between distance from the sun and orbital velocity?
Answer: Kepler's 2nd Law: A line connecting the Sun and planet sweeps out equal areas in equal times. That is, the orbital speed of any one planet varies inversely with its distance from the Sun (actually, orbital speed varies inversely with the square-root of the distance, but you needn't worry about that detail).