A rectangular garden next to a building is to be fenced on three sides. Fencing for the side parallel to the building costs $60 per foot, and material for the other two sides costs $20 per foot. If $1,500 is to be spent on fencing, what are the dimensions of the garden with the largest possible area?

2 answers

A square will give the largest possible area.

60x + 20x + 20x = 1,500

Solve for x.
100x=1500
x=1500/100
x=15