If the width and the length of the rectangle are called x and y, the area is given by:

The perimeter of the rectangle is given by:

Combining both equations by eliminating the y variable:

The maximum area can be found by taking the derivative with respect to x and setting it to zero.

Solving for x:

Solving for y:
