Given that x-2 is a factor of x^3-4x^2-2x +k,find k.

a little synthetic division shows that

(x³ - 4x² - 2x + k)/(x-2) = x² - 2x - 6 with remainder k-12.

So, we want a zero remainder, making k=12