A rectangular corral is enclosed using 120 m of fencing. The corral uses the side of a barn as one of its sides, so fencing is required on three sides of the rectangular region. What dimensions would maximize the area enclosed by the fence?