The force is the gradient (slope) of the associated potential energy. To obtain the force from the potential energy we need to differentiate:
Differentiating, we get
[There is ONE correct answer above. Choose the one you think is correct and press the "Check Your Answer" button below to see if you are right.]