The function that models the profit of the company in million of dollars is:

where x represents the number of years since the company started. We want to find when the profit of the company was $4 million. Setting P as 4 in above equation, we can find the value of x when the profit was $4 million.
Thus, we can conclude that the profit of the company was $4 million in 2nd and 4th year