Farmer Ted wants to build two pastures side by side with shared wall between them. Ted has $4800 to spend. The fencing around the perimeter costs $3 per foot and the
shared fencing costs $2 per foot. What is the max area Farmer Ted can enclose?
What are the dimensions of the pastures?
I have some work already done that attempts to answer the problem
3x+2y=4800
-3(x+y=5)
-----------
2y=4800
-3y=-15
----------
-y= 4785
Im pretty sure this is solvable using a quadratic equation because the notes i took in class are over a similar problem but its set up differently so the steps to solving it are different as well. Im not exactly sure what to do with the -y=4785 that i got or if its even set up right.