If (x+2) is a factor of x^3-6x^2+kx+10, what is k?