A team of five is to be selected from amongst five boys V, W, X, Y and Z and four girls A, B, C and D. Some criteria for selection are:
V and D have to be together.
A cannot be with C.
Y and B cannot go together.
X and Z have to be together.
C cannot be put with W.
If V and X are members, the other members of the team cannot be