I've solved the defined functions to this answer

$\displaystyle x^2-2x+2kx-4k+36=0$

Then I've converted it into the $\displaystyle ax^2+bx+c$ format like this:

For bx: $\displaystyle (-2x+2kx) = -x(2-2k)$

For c: $\displaystyle (-4k+36)$

So now I have a= 1 b= (2-2k) c= (-4k+36)

Am I doing it right? I'm not getting the correct discriminant/roots with the above.

Any help fellas?

Thanks!