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