An open box is to be made out of a 6-inch by 18-inch piece of
cardboard by cutting out squares of equal size from the four corners
and bending up the sides. Find the dimensions of the resulting box
that has the largest volume.

Dimensions of the bottom of the box:

Height of the box:

You can earn partial credit on this problem.