Answer
$(x-3)^{2}(x+3)$
Work Step by Step
Factor in pairs, $ x^{2}$ from the first two, $-3$ from the other pair.
$=x^{2}(x-3)-9(x-3)$
$=(x-3)(x^{2}-9)$
We recognize a difference of squares:
$=(x-3)\cdot(x-3)(x+3)$
$=(x-3)^{2}(x+3)$