Factor x^2-6x+6