Step-by-step explanation:
A fence for a rectangular garden with one side against an existing wall is constructed by using 60 feet of fencing.
Perimeter of rectangle (3 sides)= 60 feet
Let 'x' be the width of the wall

Formula for the area of the rectangle is

Replace the length we got using perimeter

To find out the maximum are we take derivative

find out second derivative to check whether x=15 is maximum

second derivative is negative
So, Maximum area at x=15
To find maximum area we plug in 15 for x in A(x)

So, maximum area is 225 square feet