(a) for no load, that is open circuit. The voltage at point B is zero.
(b) for 5 mA to flow through, 1001*Vx / 5000 = 5 mA. Vx is the voltage across the input terminal (+/-). Solving the equation, Vx = 24.97 mV The output is then equal to -24.97 mV.
Hope this is correct. I learned the Op-Amp circuit 30 years ago.