Measuring Relative Distances of Planets to the Sun