The equation y=x^2+41 models the earrings of a company, where y is the revenue in millions of dollars and x is the number of years since the company was founded. After how many years is the company's earnings $77million?