In a class of 45 students 20 offer geography while 28 offer chemistry. How many students offer both

20+28 - x = 45