In a class of 40 students 18 passed economics 19 passed accounts 16 passed economics 6 passed mathematics only 9 passed accounts only 5 passed mathematics and accounts only 2 passed accounts and economics only. How many failed in all the papers? How many failed in economics? How many failed in accounts?

1 answer

Assuming you meant 16 passed math,
Draw your Venn diagram and start filling in the missing pieces.

3 passed all three subjects
7 passed E and M
1 passed M only
So, 33 passed something.

I expect you can take it from there.