Answer:
Width to give maximum area is 12 feet. Maximum area is 144 square feet.
Explanation:
Given:
Width is given as
.
Area of the rectangular pen is given as,

For maximum area, the derivative of area with respect to
must be 0. So,

Therefore, for maximum area, the width should be 12 feet.
Now, plug in 12 ft for
in the expression for area to calculate maximum area. This gives,
Maximum area,
, is given as:

Therefore, the maximum area is 144 square feet.