\(\frac{a+b-c}{c}=\frac{a+b}{c}-1\)
\(\frac{a+c-b}{b}=\frac{a+c}{b}-1\)
\(\frac{b+c-a}{a}=\frac{b+c}{a}-1\)
\(\Rightarrow\frac{a+b}{c}=\frac{a+c}{b}=\frac{b+c}{a}\)
\(\Rightarrow\)\(M=\left(\frac{a+b}{c}\right)^3=\left(\frac{a+c}{b}\right)^3=\left(\frac{b+c}{a}\right)^3\)