The profit of a company in thousands of dollars is given by the quadratic function P(x) = 3000 + 1200x - 6x2 where x is the amount, in thousands, the company spends on advertising. Find the amount, x, that the company has to spend to maximize its profit.