here's a similar problem ...
Maximize Volume of a Box
An open box is to be constructed from a 3 foot by 5 foot rectagular piece of material by cutting out squares of equal size in the corners and then folding up the sides. Find the volume of the largest box that can be made in this manner.
here's a similar problem ...
Maximize Volume of a Box