Answer:
The length of the rectangular pen is 

The width of the rectangular pen is 

Explanation:
Let
x-----> the length of the rectangular pen
y----> the width of the rectangular pen
we know that
The perimeter of the rectangular pen in this problem is equal to
 ---> remember that one side of the rectangle won’t need a fence
 
so

 -----> equation A
The area of the rectangular pen is equal to
 -----> equation B
Substitute equation A in equation B

The quadratic equation is a vertical parabola open downward
The vertex is a maximum
The x-coordinate of the vertex is the length of the rectangular pen that maximize the area of the pen
The y-coordinate of the vertex is the maximum area of the pen
using a graphing tool
The vertex is the point (40,800)
see the attached figure
so

Find the value of y
 ----> 

therefore
The length of the rectangular pen is 

The width of the rectangular pen is 
