a. ĐK: \(x\ne\pm2\)
\(M=\left[\dfrac{x\left(x+2\right)}{\left(x+2\right)\left(x-2\right)}-\dfrac{\left(x+1\right)\left(x-2\right)}{\left(x-2\right)\left(x+2\right)}-\dfrac{2x+7}{\left(x-2\right)\left(x+2\right)}\right]:\dfrac{3-x+x-2}{x-2}\)
\(=\dfrac{x^2+2x-\left(x^2-2x+x-2\right)-2x-7}{\left(x-2\right)\left(x+2\right)}.\left(x-2\right)\)
\(=\dfrac{x-5}{x+2}\)
b. \(\dfrac{x-5}{x+2}< 1\Leftrightarrow\dfrac{x-5}{x+2}-1< 0\)
\(\Leftrightarrow\dfrac{-7}{x+2}< 0\Leftrightarrow x+2>0\)
\(\Leftrightarrow x>-2\)
Vậy \(x>-2,x\ne2\)