perimeter = 2(length) + 2(width) = 100
So, length + width = 50
length = 50 - width = 50-x
Area = x(50-x)
The graph of y = x(50-x) is a parabola opening downward with x-intercepts 0 and 50. The maximum area occurs halfway between the x-intercepts.
Maximum area when x = 25