There is 200 in the account and they need to leave 50.
This means they can spend a maximum of 150 on boxes ( 200-50=150)
Divide the 150 by the price of a box to get number of boxes they can buy:
150 / 10.50 = 14.28
Since they can’t buy a part of a box they can buy 14 boxes.