a, ĐKXĐ:\(x\ne-3\)
\(x+1+\dfrac{2}{x+3}=\dfrac{x+5}{x+3}\\ \Leftrightarrow x+1=\dfrac{x+5}{x+3}-\dfrac{2}{x+3}\\ \Leftrightarrow x+1=\dfrac{x+3}{x+3}\\ \Leftrightarrow x+1=1\\ \Leftrightarrow x=0\left(tm\right)\)
b, ĐKXĐ:\(x>2\)
\(\dfrac{x^2-4x-2}{\sqrt{x-2}}=\sqrt{x-2}\\ \Leftrightarrow x^2-4x-2=x-2\\ \Leftrightarrow x^2-5x=0\\ \Leftrightarrow x\left(x-5\right)=0\\ \Leftrightarrow\left[{}\begin{matrix}x=0\left(ktm\right)\\x=5\left(tm\right)\end{matrix}\right.\)