In: Math
A farmer has 80 meters of fence to make an enclosure for his cows. The enclosure is divided into 2 sections by a fence parallel to one of the sides, as in the drawing below. One section is shaped like a half-hoop and the other is shaped rectangular. Find the dimensions that maximize the total area of the enclosure.