\(x^2 + (k-2)x - 2k = (x-2)(x+k)\), so the numerator is \(\tan\left((x-2)^2(x+k)\right)\) and the denominator is \((x-2)^2\).
As \(x \to 2\), \(u = (x-2)^2(x+k) \to 0\), so \(\frac{\tan u}{u} \to 1\).
Limit \(= \lim_{x\to2}\frac{\tan u}{u}\cdot (x+k) = 2 + k\).
\(2 + k = 5 \Rightarrow k = 3\).
Answer: (4) \(3\)