A farmer will fence a rectangular pasture on level ground so that one long side of the pasture borders a straight river and requires no fencing. If 120 meters of fencing are available for the remaining three sides, determine the width and length of the pasture that maximize its area.