A gardener has 40 m of fencing to enclose a rectangular garden plot, where one side is an existing brick wall. Suppose the two new sides are x m long.
a. Write an expression for the area of the enclosed area.
b. Find the dimensions of the garden of maximum area.
c. Would your answers above change if one side of the garden were not covered by the brick wall? Explain.