A farmer has 4km of fencing wire and wishes to fence a rectangular piece of land through which flows a straight river, which is to be utilised as one side of the enclosure. How can this be done to enclose as much land as possible?

A farmer has 4km of fencing wire and wishes to fence a rectangular piece of land through which flows a straight river which is to be utilised as one side of the class=