Discussion
A farmer plans to build a rectangular pen with one side cut off by a river, as shown below. He has 40 meters of fence to enclose the remaining three sides.
Write a function to describe the area A enclosed by the fence, in terms of only the width x.