A manufacturer has a monthly fixed cost of $40,000 and a production cost of $6.00 for each unit produced. The product sells for $10.00 per unit. Find the cost function. ​