a shop has one pound bags of peanuts for $2.00 and three-pound bags of peanuts for $5.50 if you buy 5 bags and spend $17, how many of each size bad did you buy?

1 answer

If there are x $2 bags, then the rest (5-x) are $5.50 bags. So,

2.00x + 5.50(5-x) = 17.00