call the prizes x an y and the family members a, b, c. the total number of ways to match family members with prizes is
ax, bx, cx
ay, by, cy,
ax & by, ax & cy
bx & ay, bx & cy
cx & ay, cx & by
12 different ways. (or 3(1) + 3(1) + 3(2))
the total number of ways for 40 people to be matched with two different prizes is
(40)(39) (permutation formula because order matters)
so the prob ...



