If a root of the quadratic equation x ^ 2-kx-4 = 2 is 2, then the value of K is?

If a root of the quadratic equation x ^ 2-kx-4 = 2 is 2, then the value of K is?

Substituting x = 2 into the equation, the equation should hold
SO 2 & # 178; - 2k-4 = 2
4-2k-4=2
-2k=2
k=-1
If you understand and solve your problem, please accept it as a satisfactory answer in time. Please understand,