Answer: In zhi's equation, the 18 is the initial amount of tickets, and the 3g means 3 times the amount of games.
Diegos equation is the same, but write in factorised form. The 3 multiplies with the 6 to create 18, and the 3 multiple with the g to create 3g