algebra
posted by Amber on .
Henry paid $.80 for each bag of peanuts. He sold all but 20 of them for $1.50 and made a profit of $54. How many bags did he buy? (HINT: Profit = selling pricebuying price.)

Let x = number of bags bought.
1.50(x20)  .80x = 54
Solve for x.