Given that the region is rectangular, it has two opposite sides called x and two other opposite sides called y (both measured in feet). Then, the area (in square feet) is:
A = x*y = 450
One of the sides called y costs $21 per linear foot. The other 3 sides (two x and one y) costs $15 per linear foot. Then, the cost function is: