Optimization - Three Pens

HELP

A farmer has exactly 1200 feet of fencing and needs to create a rectangular enclosure with three pens, as shown above. What should the dimensions of the enclosure be, to create the maximum area?

As you move the blue dot, the total length of fencing, 1200 feet, remains constant.