A planet twice as far from the Sun doesn't take twice as long to go around: it takes about 2.8 times as long. Kepler found that the orbital period grows like the distance to the 3/2 power, a rational exponent: square the period and you get the distance cubed.