\(A=\left(x+a\right)\left(x+b\right)\left(x+c\right)\\ =\left(x^2+ax+bx+ab\right)\left(x+c\right)\\ =x^3+\left(a+b+c\right)x^2+\left(ab+bc+ca\right)x+abc\\ =x^3+6x^2-7x-60\)
\(B=\left(x+y+z\right)^2=\left[\left(x+y\right)+z\right]^2\\ =\left(x+y\right)^2+2\left(x+y\right)z+z^2\\ =x^2+2xy+y^2+2xz+2yz+z^2\\ =x^2+y^2+z^2+2xy+2yz+2zx\)