The marginal revenue function for a product is 200 + 0.4x + 3x^2 . If the revenue from the sale of 20 items is $3280, find the revenue function (total revenue from the sale of x items). If the marginal cost is given by 0.2x + 20 and fixed costs are $2000, find the profit function P(x).