well nevermind folks im really sorry but i taslked to my friend and i forgot one vital step that toke me doiwn...i forgot to sub the x back in for the amount of trees i got but whatever the point is that i got it. I giot a new one that is harder and i need help more with. Its somewhat of the same idea as the other one just a little different.

vitaly and jen have 24 m of fencing to enclose a vegetable garden at the back of their house. what are they dimensions of the largest rectagular garden they could encolse with this length of fencing. Now remeber their are only 3 sides of fence because its built against the house so heres 2 equations that i came up with:

---------------------------

| |

y | | y

| |

---------------

x

P(perimiter) = x + 2y

area = (x)(y)

now where do i go from there lol

it erased all the spaces from my diagram up there so nvm that