First, either draw the graphs or look at the two parabolas together on a graphing calculator.
The length of the rectangle required is 6-x2 - x2 = 6 - 2x2 and
the width of the rectangle is 2x.
The area of the rectangle is 12x - 4x3.
The area will be maximum where the derivative 12 - 12x2 = 0, i.e. where x = ±1.
That area is 8.