The function g(w)=18ww2\displaystyle {g{{\left({w}\right)}}}={18}{w}-{w}^{{2}} can be used to determine the area, in square feet, of Mary's garden. In the function, w\displaystyle {w} represents the width, in feet, of the garden.

The maximum of the garden is ft2\displaystyle {f}{t}^{{2}}