I want to fence in a square vegetable patch. The fencing for the east and west sides costs $5 per foot, and the fencing for the north and south sides costs only $4 per foot. Find the total cost of the fencing as a function of the length of a side x (feet).
1 answer
c(x) = 2*5x + 2*4x = 18x