18x + 6x = 5300
24x = 5300
x = 220.83333
Because you can't buy a partial item, you must round down.
x = 220
18x + 6x = 5300
18(220) + 6(220) = 5300
3960 + 1320 = 5280
Problem statement: How many of each can I buy for $5300?
I have one item worth $18 each and another item worth $6 each. I want to buy the same quantity of each item for $5300. How would I go about solving this problem.