An open box is to be made out of a 12-inch by 20-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: x
Height of the box: