To solve this problem we will start from the constants given on the two celestial bodies, that is, the earth and the moon. From there we will seek the balance of forces, where the gravitational force is zero. That distance will remain incognito and will be the one we will seek to find, this is
Given that,




The distance between Earth and Moon

As the net gravitational force is zero we have that


Replacing with our values



Replacing x as the distance betwen moon and earth,

Solving the polynomial we have that

So the minimum value is
