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?