This gives you the correct amount of money collected, but it is not the correct total number of boxes. Make sure that you start with the two equations and .