Question:-
$x^2-4x-1=2k(x-5)$ has two equal roots. Calculate the possible values of $k$.
I know that that must mean the discriminant must equal $0$. So I found:
$b = (-2k-4)$
$a = 1$
$c = (10k-1).$
Yet when I input this into $b^2 - 4ac$ I always get an incorrect answer. The correct answers are supposed to be $k = 1$ or $k = 5$.
Can someone explain where I went wrong? Thanks.