The graph of the area with respect to the width x has this graph,
which is a parabola:
The maximum value is the y-value at the vertex. We find the vertex of a
parabola by using the vertex formula for the x-coordinate of the vertex:
So the maximum area is when the width x is 20 meters and the length is 2u
The two-pen corral has maximum area when its width is 20 meters and its
length is 30 meters. [Incidentally that maximum area is the y-coordinate
of the vertex, which you can get by substitution and finding y. It's 600 m².
Edwin