Maximizing the volume of a box

The diagram shows the layout for a box that will be created by cutting squares of equal size out of the corners of a rectangle and then folding up the sides. Drag the orange slider to change the size of the squares being cut out.
What dimensions of the box give it the maximum volume?