In an examination 31 candidate passed chemistry,29 passed physics and 3 field both subjects .if 50 candidate sat for the examination, how many of them passed chemistry only

Show me how to solve it

If x passed both, then (assuming "field" means "failed")

31+29-x = 50-3
x = 13
so 31-13 = 18 passed only chem