5 play both tennis and netball
Solution:
Formula: Total = Group 1 + Group 2 - Both + Neither
where:
- Total = total number of girls in the class (34)
- Group 1 = number of girls playing tennis (21)
- Group 2 = number of girls playing netball (18)
- Both = number of girls playing both games (what we want to find)
- Neither = number of girls playing neither game (0, since all the girls play at least one game)
Plugging in the values, we get:
34 = 21 + 18 - Both + 0
Simplifying:
34 = 39 - Both
Both = 39 - 34
Both = 5