\(ax^2+bx^2-bx-ax+cx^2-cx\)
\(=\left(ax^2-ax\right)+\left(bx^2-bx\right)+\left(cx^2-cx\right)\)
\(=ax\left(x-1\right)+bx\left(x-1\right)+cx\left(x-1\right)\)
\(=\left(x-1\right)\left(ax+bx+cx\right)\)
\(=x\left(x-1\right)\left(a+b+c\right)\)
ax2+bx2-bx-ax+cx2-cx
= (ax2 - ax ) + (bx2 -bx ) + ( cx2 - cx )
= a(x) + b(x) + c(x)
= (x)(a+b+c)