x2-y2-6x+9

x2-y2-6x+9

x²-y²-6x+9
=(x-3) &# 178; - Y & # 178; (according to the complete square formula)
=(x + Y-3) (x-y-3) (according to the square difference formula)