Let $a,b,c$ be side lengths of a triangle. What are the minimum and maximum of $$\frac{(a+b+c)(2ab+2bc+2ca-a^2-b^2-c^2)}{abc}?$$
When $a=b=c$, the value is $9$. In addition, we can write $a=x+y,b=y+z,c=z+x$ since they are side lengths of a triangle. The expression becomes $$\frac{8(x+y+z)(xy+yz+xz)}{(x+y)(y+z)(z+x)}.$$
We will prove that $$8 \leqslant \frac{8(x+y+z)(xy+yz+zx)}{(x+y)(y+z)(z+x)} \leqslant 9$$
For the Left Hand Side:
For the Right Hand Side
So the minimum value is $8$ , achieve when $x=0$ and cyclic permutation
The maximum value is $9$, achieve at $x=y=z$