If the solution curve of the differential equation \( \dfrac{dy}{dx}=\dfrac{x+y-2}{x-y} \) passes through the points \( (2,1) \) and \( (k+1,2) \), \( k>0 \), then
\( 2\tan^{-1}\!\left(\dfrac{1}{k}\right)=\log_e\!\left(k^2+1\right) \)
\( \tan^{-1}\!\left(\dfrac{1}{k}\right)=\log_e\!\left(k^2+1\right) \)
\( 2\tan^{-1}\!\left(\dfrac{1}{k+1}\right)=\log_e\!\left(k^2+2k+2\right) \)
\( 2\tan^{-1}\!\left(\dfrac{1}{k}\right)=\log_e\!\left(\dfrac{k^2+1}{k^2}\right) \)