TeX source:
f^{\prime}(x)=3 x^{2}-12 x+9=3\left(x^{2}-4 x+3\right)=3(x-1)(x-3)