A farmer is building four connected pens for his livestock. He has $160$ feet of fencing. What is the maximum area of one sector?
So here's a (crude) drawing I made; the red lines represent congruent lines.
My attempted solution:
$8$ fences of length $y$ and $5$ fences of length $x$ add up to $160$ feet of fence, so I get the equation $8y+5x=160$, which is equivalent to $x=-\dfrac {8}5y+32$
The area of one sector is the product of $x$ and $y$, so I get the equation $xy=A$
substituting, I get $-\dfrac {8}5y^2+32y=A$
Using the formula $x=-\dfrac{b}{2a}$, I get $x=20$.
Substituting this into the first equation, I get $y=7.5$, and substituting both values into the second equation, I get $A=150$.
The correct answer is $160$. What did I do wrong?
