\(a,B=x^2+x-2-x^2+2x-3x=-2\\ b,B=\left(x^3-3x^2+3x-1\right)+1021=\left(x-1\right)^3+1021\\ B=\left(11-1\right)^3+1021=1000+1021=2021\)
a) \(=x^2-x+2x-2-x^2+2x-3x=-2\)
b) \(=\left(x^3-3x^2+3x-1\right)+1021=\left(x-1\right)^3+1021=\left(11-1\right)^3+1021=10^3+1021=1000+1021=2021\)