The answer is supposed to be $k = 14$ or $54$ with the quadratic formula. I've tried cross multiplying and doing something like this:
$1. (x-1)(x+2) = (k-9x)(x-3)$
$2. x^2 + 2x - x - 2 = kx - 3k - 9x^2 + 27x$
$3. x^2 + 2x - x - 2 + 9x^2 - 27x = kx - 3k$
$4. 10x^2 - 26x - 2 = kx - 3k$
Then I get stuck at step $4$. Are the calculations above correct? And how would I solve for $k$ with the quadratic formula?
Your calculation is correct, and rewrite it as: $10x^2 - (26+k)x + 3k -2 = 0$. The exact one solution means that $\triangle = (26+k)^2 - 4(10)(3k-2) = 0$. Can you solve this equation to get $k$ ?