X2-6x +9= 22
For solving by completing the squares, it is easily observed that right hand side of the equation is the square of (x-3). Hence we can write the given equation as follows:
(x-3)2 = 22
Take square root on both sides,
x-3= ±√22
x= 3±√22
****