A school is organizing a cookout where hotdogs will be served. The hotdogs come in small packs and large packs. Each small pack has 8 hotdogs and each large pack has 24 hotdogs. The school bought 2 more large packs than small packs, which altogether had 144 hotdogs. Graphically solve a system of equations in order to determine the number of small packs purchased, x, commax, and the number of large packs purchased, yy.