b: \(a^3+b^3+c^3-3abc\)
\(=\left(a+b\right)^3+c^3-3ab\left(a+b\right)-3abc\)
\(=\left(a+b+c\right)\left(a^2+2ab+b^2-ac-bc+c^2\right)-3ab\left(a+b+c\right)\)
\(=\left(a+b+c\right)\left(a^2+b^2+c^2-ab-bc-ac\right)\)
c: \(\left(a+b+c\right)^3-a^3-b^3-c^3\)
\(=\left[a+b+c-a\right]\left[\left(a+b+c\right)^2+a\left(a+b+c\right)+a^2\right]-\left(b+c\right)\left(b^2-bc+c^2\right)\)
\(=\left(b+c\right)\left[\left(a+b+c\right)^2+a\left(a+b+c\right)+a^2\right]-\left(b+c\right)\left(b^2-bc+c^2\right)\)
\(=\left(b+c\right)\left(3a^2+3ab+3bc+3ac\right)\)
\(=3\left(b+c\right)\left[a^2+ab+bc+ac\right]\)
\(=3\left(b+c\right)\left[a\left(a+b\right)+c\left(a+b\right)\right]\)
\(=3\left(b+c\right)\left(a+b\right)\left(a+c\right)\)
d: \(=x^2\left(y-z\right)+y^2z-y^2x+z^2x-yz^2\)
\(=x^2\left(y-z\right)+y^2z-yz^2-xy^2+xz^2\)
\(=x^2\left(y-z\right)+yz\left(y-z\right)-x\left(y-z\right)\left(y+z\right)\)
\(=\left(y-z\right)\left(x^2+yz-xy-xz\right)\)
\(=\left(y-z\right)\left[x\left(x-y\right)-z\left(x-y\right)\right]\)
\(=\left(y-z\right)\left(x-y\right)\left(x-z\right)\)