Answer:
Equation 1
18 represents the number of tickets Zhi starts with. -3 is how many tickets each game uses, G is the amount of games played.
Equation 2
This equation is just equation 1 in factored form, 3 times 6= 18 and -g times 3= -3g. All of the parts are the same from the first equation.
Hope this helps some!!