Of the number of three athletic teams in a school, are in the basketball team, in hockey team and in the football team, play hockey and basketball, play hockey and football, play football and basketball and play all the games. The total number of members is
Let be the sets of the three teams respectively
so
and