Tom is selling tickets for a school show.
Tickets cost £4.50 if booked in advance,
and 10% extra if bought on the night.
In total 65 tickets are sold, of which 22 are bought on the night.
How much money is spent on tickets altogether?