Answer:
The net gravitational force exerted by the asteroids on the spaceship when the spaceship is 30 km away from that midpoint is 12000 Newtons
Step-by-step explanation:
Gravitational force is given by

where
![m_1=2.8* 10^(6) kg,m_2=5.0* 10^(16)kg, r=[20^(2)+30^(2)]^{(1)/(2)}km=36km](https://img.qammunity.org/2019/formulas/physics/middle-school/8oy7tbflcpfd3t4nukd4r0zkgoixwjngzk.png)
=>

Now the force F is acting on spaceship due to two asteroids at an angle
with the line joining spaceship and mid-point such that

Therefore net force ,

Thus the net gravitational force exerted by the asteroids on the spaceship when the spaceship is 30 km away from that midpoint is 12000 Newtons