Calculating Distance of Planet II