Find k\displaystyle {k} such that x3kx2+kx+4\displaystyle {x}^{{3}}-{k}{x}^{{2}}+{k}{x}+{4} has the factor x3\displaystyle {x}-{3}.

Give an exact answer (no decimals)