A rancher has 1000m of fencing to enclose two rectangular corrals. The corrals have the same dimensions and one side in common (let that side be x). What dimensions will maximize the enclosed area?


Letting the common side be x, we get the following sketch for the problem and it may hence be solved as shown in the sketch attached :