Answer:
Number of students who play soccer = 16
Number of students who play hockey = 12
Since there are 20 boys in total, and 2 of them are not allowed to play games, there are 20 - 2 = 18 boys who can participate in sports.
S" represent the students who play soccer, "H" for those who play hockey, and "B" for the total number of boys. Using the inclusion-exclusion principle: B = S + H - (S ∩ H)
We know that B (total boys) = 18, S (soccer players) = 16, and H (hockey players) = 12.
solve for S ∩ H:
S ∩ H = 16 + 12 - 18
S ∩ H = 28 - 18
S ∩ H = 10
So, there are 10 students who play both soccer and hockey.
Explanation: