The only thing you need for this question is just dimension of force.
(A) and (C) is surely wrong since they are energy.
(E) is wrong since gravity comes from nowhere in this problem.
Now,

has dimension of energy, which is equivalent to dimension of work done by force for some distance.
Hence, the force should be in dimension of energy/distance. So, it should have term

The correct answer is (B). 86 of 100 got this right.
Physics behind it: if you can remember the concept of conservative force. You can use the fact that force is the space coordinate directive of potential energy.