The annual cost C (in thousands of dollars) and revenue R (in thousands of dollars) for a company each
year from 2010 through 2016 can be approximated by the models = 254 − 9 + 1.12 and = 341 +
3.2 where t is the year.
Write a function P that represents the annual profit of the company.
(Profit = Revenue − Cost)