A farmer is building a fence to enclose a rectangular area consisting of two separate regions. The four walls and one additional vertical segment (to separate the regions) are made up of fencing, as shown below.

A rectangular area consisting of two separated regions.
A rectangular area consisting of two separated regions.

If the farmer has 246 feet of fencing, what are the dimensions of the region which enclose the maximal area?