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?