amount times cost=profit
profit beverages=x times 1.26 or 1.26x
profit candy=y times 1.09 or 1.09y
the total profit is profit beverage plus profit candy or 1.26x+1.09y
they want total profit of 181.59
so
181.59=1.26x+1.09y is the answer in standard form
usually, we want whole numbers, but that's fine