Answer:
they have 490 to buy bean bags
If there is no discount, the amount they can buy is 490/40=12,25>10, so they will get a discount
call the bean bag is X we have: X*40*(100%-10%) ≤ 490
⇒X≤13,6
they can buy at most 13 bag and they will have left 490-40*13*90%=22
Explanation: