If the number of bags is x, the cost of them is 8x.
After applying a $10 coupon the total was $30.
Set equation:
Solve it for x:
1.6m questions
2.0m answers