<p>Your first step in long division is of course that (x^2)(x - 2) yields an x^3 term so that x^3 - x^3 = 0 and the x^3 term disappears. </p>
<p>Your remainder is:</p>
<p>(k^2) - (-(2x^2)), which is (k + 2)(x^2).</p>
<p>Now here is the key step: after you bring down the 12x term, your goal is to to get rid of the (k + 2)(x^2). To do that, you will need to multiply (x - 2) by (k + 2)x. The result of that multiplication is:</p>