If (x+2) is a factor of x36x2+kx+10, what is k?