The correct option is D 2 & 3
Here it is given that pole 1 attracts pole 3, hence pole 1 and 3 are unlike poles. In a magnet we have two poles, north pole and south pole. So pole 1 and pole 2 are also unlike poles. So pole 1 is an unlike pole for both pole 2 and pole 3, hence pole 2 and 3 are like poles