Solve for x F(x)=ax^2+bx+c