A farmer has 500 feet of fence for constructing a rectangular corral. One side of the corral will be formed by the barn and requires no fence. Three exterior fences and two interior fences partition the corral into three rectangular pens. What are the dimensions of the corral that maximize the enclosed area? What is the area of the three pens?