Consider the attached figure. The coordinates of the points are

Since f(x) is even, we have

So, the updated coordinates are

This implies that the rectangle has area

And we want to maximize this function. To so do, let's compute its derivative:

This equals 0 if

Given the behaviour of the area function (cubic polynomial with negative leading coefficient), the first point is a minimum, and the second point is a maximum. So, for x=2, we have

Which yields an area of
