The correct option is A attracted when x lies between B and C and are repelled when x lies between A and B
The atoms when brought from infinity are attracted due to inter-atomic electrostatic force of attraction. At point B, the potential energy is minimum and force of attraction is maximum. But if we bring atoms closer than x=B, force of repulsion between two nuclei starts and P.E.increases. Thus repulsive between A and B, and attractive between B and C.