\(\frac{a+b-c}{c}=\frac{a-b+c}{b}=\frac{-a+b+c}{a}\) => \(\frac{a+b}{c}-1=\frac{a+c}{b}-1=\frac{b+c}{a}-1\)
=> \(\frac{a+b}{c}=\frac{a+c}{b}=\frac{b+c}{a}=\frac{\left(a+b\right)+\left(a+c\right)+\left(b+c\right)}{c+b+a}=\frac{2\left(a+b+c\right)}{a+b+c}=2\)
M = \(\frac{a+b}{c}.\frac{b+c}{a}.\frac{c+a}{b}\) = 2.2.2 = 8