\(M=\dfrac{x}{\left(x-2\right)\cdot\left(x+2\right)}-\dfrac{6}{3\left(x-2\right)}+\dfrac{1}{x+2}\)
\(=\dfrac{x}{\left(x-2\right)\left(x+2\right)}-\dfrac{2}{x-2}+\dfrac{1}{x+2}\)
\(=\dfrac{x-2x-4+x-2}{\left(x-2\right)\left(x+2\right)}=\dfrac{-6}{x^2-4}\)