It is given that f(x)=x3+kx−2f(x) = x^3 + kx - 2f(x)=x3+kx−2 where k k\,k is a constant, and that (x−2)(x - 2)(x−2) is a factor of f(x)f(x)f(x).
Find the value of kkk.
Hence factorise f(x)f(x)f(x) completely.