Question 1091478
.
Read the lesson 

&nbsp;&nbsp;&nbsp;&nbsp;- <A HREF=https://www.algebra.com/algebra/homework/quadratic/lessons/A-farmer-planning-to-fence-a-rectangular-area-along-the-river--to-enclose-the-maximal-area.lesson>A farmer planning to fence a rectangular area along the river to enclose the maximal area</A>

in this site, where similar problem was solved with detailed explanations.