a) \(\left(x^2-2x+1\right)\left(x-1\right)=\left(x-1\right)^2\left(x-1\right)=\left(x-1\right)^3=x^3-3x^2+27x-1\)
\(a,\)\(\left(x^2-2x+1\right)\left(x-1\right)\)
\(=\left(x-1\right)^2\left(x-1\right)\)
\(=\left(x-1\right)^3\)
\(=x^3-3x^2+3x-1\)
\(b,\)\(\left(x^3-2x^2+x-1\right)\left(5-x\right)\)
\(=5x^3-x^4-10x^2+2x^3+5x-x^2-5+x\)
\(-x^4+7x^3-11x^2+6x-5\)