A manufacturer sells two products, one at a price of $3000 a unit and the other at a price of $12000 a unit. A quantity q1 of the first product and q2 of the second product are sold at a total cost of $5000 to the manufacturer.
Express the manufacturer's profit, as a function of q1 and q2.