Gravitational pull problem

Question

Hints

Answer