Solve for x y=ax^2+bx+c