We can coerce the polynomial into a nicer form through $$x^2-2ky+k^2y^2-(k^2-k)y^2+d=(x-ky)^2-(k^2-k)y^2+d$$ And if we set $u=x-ky$, we have $$u^2+(k-k^2)y^2+d$$ The substitution is necessary, since as stated in the comments, we cannot write it as $(x-x_0)^2+(y-y_0)^2+r$ because of the xy term.