The polynomial f(x)=x^3-x^2-6kx+4k^2 where k is a constant has (x-3)as a factor. Find the possible values of k and for the integral value of k find the remainder when f(x) is divided by x+2.