(sum (diameter of planets) - radius of earth - radius of moon) / (distance between earth and moon)