It costs a family $324 to buy a 10-ft-by-12-ft rug. At this rate, what will it cost them to buy a 15-ft-by-18-ft rug?