how many tickets did i buy if i spent £30 formula is C=20+0.1t

Put C=30 to get

30 = 20 + 0.1t
subtract 20 on each side to get
10 = 0 + 0.1t
Now multiply by 10:
10*10 = 10*0.1t
Solve for t.