Factorize x2-12x+36.
We can write the given expression as
x2-12x+36=x2-6x-6x+36
=x(x-6)-6(x-6)
=x-6x-6
=x-62
Hence the factored expression is (x-6)2.