Optimization of Rectangle A landscape architect wished to enclose a rectangular garden on one side by a brick wall costing \$50 per foot and on the other three sides by a metal fence costing \$10 per foot. If the area is 24 square feet, what are the dimensions of the garden that minimize the cost? (Let x= side with bricks; y= adjacent side)
I tried finding the length of one side as 24/x and the other as 24/y, but it 
hasn't gotten me far. I also thought about finding the variables through the perimeter, but I realized all they gave was the area.
Thank you!

Let $C(x)$ be the the cost of covering the garden of a side $x$. Since $y=24/x$ (by area), $C(x)=50x+10x+2(10\frac{24}{x})=60x+\frac{480}{x}$. Since $0<x<240$, our restriction will be $x\in(0,240)$. To find for critical number/s,
$$C'(x)=60-\frac{480}{x^2}=0\ (or\ undefined)$$
$$x^2=\frac{480}{60}=8$$
$$\therefore x=2\sqrt{2}\ or\ -2\sqrt{2}$$but $-2\sqrt{2}\notin(0,240)$, so $x=2\sqrt{2}$. To test if it is a relative extremum:
$$C''(x)=\frac{960}{x^3}$$
$$C''(2\sqrt{2})=\frac{960}{(2\sqrt{2})^3}>0\ (rel. min.)$$
Since, there is only one relative extremum in $(0,240)$, therefore it will the absolute extremum, too.
Therefore, the $x$ (side with bricks) is $2\sqrt{2}ft.$, and the other side is $6\sqrt{2}ft.$ Sorry for a not so good solution, but hope it helps. Sorry my previous answer :(
