Hi, I really need a hand with the following question

Find the values for k for which the quadratic equation x^2-2x+21=2k(x-7) has equal roots

I don't really know what to do, I know the discriminant must equal 0 but actually putting that usefully is completely beyond me somehow.

Any help you could provide would be much appreciated.