A company charting its profits notices that the relationship between the number of units sold, x, and the profit, P, is linear. If 150 units sold results in $900 profit and 200 units sold results in $3700 profit, write the profit function for this company.