The correct option is A P
Let the teams be T1, T2 and T3.
T1 = X
T2 = Y
T3 = Z
Now, P and Y must be in the same team. So, T2 will have P and Y as team members.
Again, A and X are also in different teams and the women A and B are together in a team. So,
T1 = X
T2 = Y, P,
T3 = Z, A, B
Again, Q and R can't be in the same team. So either of Q or R will be in team 2.
Therefore, P must be in a team that has three members.