I didn't really get the which part because we shape it to serveral factors, this is one of them
+x on each side. Then -2 on each side. Then divide both sides by 6 and you have your answer
Gabe had 372 apples and r grapes. The total of grapes and apples gabe has are 509. How many grapes did gabe have?