I got this problem with maximizing area.

This garden is to be fenced with 120 feet of fencing. What dimensions x and y would give the garden maximum area?

I know that 3x + 2y = 120, and from that, 3x= 120 - 2y.

Other than that, I'm not sure how to tackle this one.

Any help much appreciated.