yep, my interpretation of the problem is that you have 400in^2 of cardboard to make as large of a topless box as you can.
So you want to maximize V(l,h,w) = l*h*w given that S(l,h,w) = 2(hw)+2(hl)+(lw) = 400.
If you know the Lagrange multiplier technique, use that. If not, you will need to...