The correct option is A 1 - North, 3 - South
Since the rightmost end of the magnet Y is marked as the north pole, the end ‘3’ will be the south pole. This is because every magnet consists of two poles, namely the north and the south pole.
It is given that two bar magnets repel each other. We know that like poles repel each other. This means that poles ‘2’ and ‘3’ are the same. So the ‘2’ must be the south pole and end ‘1’ will surely be the north pole.
Hence, poles ‘1’ and ‘3’ are the north pole and south pole respectively.