I’m a class of 50 students 30 offer Economics,17 offer government and 7 offer neither Economics nor Government how many students offer both subjects

30+17-x = 50-7

Now just find x