Áp dụng t/c dtsbn:
\(\dfrac{a+b-c}{c}=\dfrac{a-b+c}{b}=\dfrac{-a+b+c}{a}=\dfrac{a+b-c+a-b+c-a+b+c}{a+b+c}=\dfrac{a+b+c}{a+b+c}=1\)
\(\Rightarrow\left\{{}\begin{matrix}a+b-c=c\\a-b+c=b\\-a+b+c=a\end{matrix}\right.\)\(\Rightarrow\left\{{}\begin{matrix}a+b=2c\\a+c=2b\\b+c=2a\end{matrix}\right.\)
\(M=\dfrac{\left(a+b\right)\left(b+c\right)\left(c+a\right)}{abc}=\dfrac{2a.2b.2c}{abc}=8\)