By cutting away an x-by-x square from each corner of arectangular piece of cardboard and folding up the resulting flaps,a box with no top can be constructed. If the cardboard is 6 incheslong by 6inches wide, find the value of x that will yield themaximum volume of the resulting box.