a) $(x^6 + x^3 -x + 1) : (x-1)$
$$ \polyhornerscheme[x=1, resultstyle=\colorred,resultbottomrule,resultleftrule,resultrightrule]x^6 + x^3 -x + 1$$
$Cociente: \: x^5+x^4+x^3+2x^2+2x+1$ $Resto: \: 2$ b) $(x^3 - 3x^2 + 2x) : \left(2x - \frac12\right)$
$$\polylongdiv[style=D]x^3 - 3x^2 + 2x2x (…)