\[(3 - k)^{2}(k + 3)^{2} = \left( (3 - k)(3 + k) \right)^{2} =\]
\[= \left( 9 - k^{2} \right)^{2} = 81 - 18k^{2} + k^{4}\]