If the equation KX ^ 3 - (x-1) ^ 2 = 3 (K-2) x ^ 3 + 1 is a quadratic equation of one variable with respect to x, then k =

If the equation KX ^ 3 - (x-1) ^ 2 = 3 (K-2) x ^ 3 + 1 is a quadratic equation of one variable with respect to x, then k =

kx^3-(x-1)^2=3(k-2)x^3+1
kx^3-x^2+2x-1=3kx^3-6x^3+1
-x^2+2x-2kx^3+6x^3-2=0
x^3(6-2k)-x(x-2)-2=0
6-2k=0
k=3