A company's Profit (in millions of dollars) can be represented by x^2-5x+6, where x is the number of years since the company has started. When did the company have a profit of $2 million?