<--------------------------------------------------------------->

^ ^
^ ^
^ ^ y
^ ^
<----------------------------------------------------------->
x
Find the maximum area that can be formed by a series of small pens next to a river with separate enclosures as shown. The total length of fencing is 40m.

help asap please!