A rancher has 360 yd of fencing with which to enclose two adjacent rectangular corrals, one for horses and one for cattle. A river forms one side of the corrals. Suppose the width of each corral is x yards.
(a) Express the total area of the two corrals as a function of x.
(b) Find the domain of the function.
(c) Using the graph of the function shown below, determine the dimensions that yield the maximum area.