Question 435792
Let x the number of tickets $8, then 20-x is the number of tickets $5. Since he spend $118, we have the below equation:

8x+5(20-x)=118 =>8x-5x=118-100 => 3x=18 => x=6.

Answer:This person bought 6 tickets $8 and 20-6=14 tickets $5.

Check:6*8+14*5=118 => 48+70=118 => 118=118.