A company's profit, , in thousands of dollars, is a linear function of the number of units sold, . If the company sells 100 units, the profit is $2,500. If the company sells 300 units, the profit is $7,500. What is the profit, in thousands of dollars, if the company sells 500 units?