Answer:
80 - 5x
Explanation:
We are told that Thomas has bought 80 tickets and that a ride costs 5 tickets; therefore, if Thomas has already ridden x rides, the number of tickets he has used is

this means the number of tickets left is

which is our answer!