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