correct distance from middle of planet

still not getting correct output for mercury