Create a diagram to verify that the 3-d rectangular box created in this way will have dimensions x by (8 - 2x) by (12 - 2x), where x is the side length of the squares cut out from the four corners.
For this reason, the volume is given by V(x) = x · (8 - 2x) · (12 - 2x) = 4x3 - 40x2 + 96x ; 0 < x < 4
Often, we now use a graphing utility to determine the dimensions of the square that maximize this volume and the maximum volume that can be attained. These values are the coordinates of the local maximum that exists in the valid domain, 0 < x < 4.