You need to transform quadratic equation into the form (x-h) then you square them.
1.you need to divide both sides of the equation by a then simplify.
2.Write the equation such that the terms with variables are on the left side of the equation.
3.add the square of one-half of the coefficient of x on both sides of the resulting equation.
4.Express the perfect square trinomial on the left side of the equation as a square of a binomial.
5.Solve the resulting quadratic equation by extracting the square roots.
6.Solve the resulting linear equations.
then last 7.Check