A company charting its profits notices that the relationship between the number of units sold, x, and the profit, P, is linear. If 170 units sold results in $1360 profit and 220 units sold results in $4260 profit, write the profit function for this company.