Phys
posted by Lizzy .
The masses and coordinates of three spheres are as follows: 18 kg, x = 1.50 m, y = 1.50 m; 40 kg, x = 1.50 m, y = 1.50 m; 64 kg, x = 0.00 m, y= 0.25 m. What is the magnitude of the gravitational force on a 14 kg sphere located at the origin due to the other spheres?

I would use your distance formula to find both distances.
Then, use F=GMM/dis^2, but remember to add them as vectors (break up each force as components up and along x axis).