(b) $F = - \left( \frac{dU}{dx} \right)$
In the region $BC$ slope of the graph is positive
$\therefore F =$ negative $i.e.$ force is attractive in nature
In the region $AB$ slope of the graph is negative
$\therefore F =$ positive $i.e.$ force is repulsive in nature