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