to complete the square , use , [ half X coefficient of x ]^2
replece x^2-6x with (x-3)^2 - 9
5.1m questions
6.7m answers