A rectangular paddock has perimeter of 600 m and area 21 600 m^2. Find the dimensions of the paddock.
So far, I've figured out the formula is x(300-x)=21600 and rearranged to 300x-x^2=21600. I'm not really sure if this is correct because in the end I managed to get the answer -145.94 or 145.94 and the correct answer in the back of my textbook is 180 m by 120 m. So I'm a bit confused.
$$P=2(l+b)=600\quad A=lb=21600$$ $$l+21600/l=300\implies l^2-300l+21600=0$$ $$l=\frac{300\pm\sqrt{90000-86400}}{2}=\frac{300\pm\sqrt{3600}}2=\frac{300\pm60}2=180,120$$ $$(l,b)\equiv(180,120)\or(120,180)$$