How to solve this set of union and intersection. Problem: 40 students in class
17 have ride an plane
28 have ride a boat
10 have ride a train
12 have ride both plane and a boat
3 have ride a train only
4 have ride an airplane only