\(\left(x+a\right)\left(x+b\right)\left(x+c\right)\)
\(=x^3+ax^2+bx^2+cx^2+abx+acx+bcx+abc\)
\(=x^3+x^2\left(a+b+c\right)+x\left(ab+ac+bc\right)+abc\)
\(=x^3+6x^2-7x-60\)
\(\left(x+a\right)\left(x+b\right)\left(x+c\right)\)
= \(\left(x^2+xb+ax+ab\right).\left(x+c\right)\)
= \(x^3+x^2c+x^2b+xbc+ax^2+axc+abx+abc\)
= \(x^3+x^2\left(a+b+c\right)+x\left(ab+ac+bc\right)+abc\)
= \(x^3+6x^2-7x-60\)