1) Factor. If then x= a and x= b are roots. One can theoretically always factor but there are just too many ways to try unless you restrict to integer coefficients. And not all quadratics can be factored with integer coefficients.
2) Complete the square. If then .
3) Use the quadratic formula. Applying "complete the square" to the general gives .