Equation: 320.92=200.20+30.18x
Total spent at party = food purchase + 30.18 per hour (x)
Subtract 200.20 from both sides.
120.72=30.18x
Divide both sides by 30.18x to get the x alone.
4=x
Because x represented how many hours you were at the party, the answer is 4 hours.