p = original count of people
1/4 got off leaving 3/4 p
5 people got on making it 3/4 p + 5
then 1/2 got off leaving 1/2 1/2 (3/4 p + 5)
and 201 got on for a total of 80 1/2 (3/4p +5) + 20 = 80 Now all you have to do is solve this for 'p'
can you do that ?