A company has been selling 1200 computer games per week at $18 each. Data indicates that for each $1 price increase, there will be a loss of 40 sales per week. It costs $10 to produce each game.

a) State the revenue function
b) State the cost function
c) State the profit function
d) What price will produce the maximum profit