We have a cost function C(N) and a revenu function R(N) defined as:

The profit is defined as the difference between the revenue and the cost, so we can define a profit function as:

We can replace with the definition of each function and rearrange as:

Answer: the profit function is P = 12.85N - 550.