a) \(x^4+x^3+x+1\)
\(\left(x^4+x^3\right)+\left(x+1\right)\)
\(x^3\left(x+1\right)\)+(x+1)
(x+1)(\(x^3+1\))
e)\(ax^2+ay-bx^2-by\)
\(\left(ax^2+ay\right)-\left(bx^2+by\right)\)
\(a\left(x^2+y\right)-b\left(x^2+y\right)\)
\(\left(x^2+y\right)\left(a-b\right)\)
b: \(=x^3\left(x-1\right)-\left(x-1\right)\left(x+1\right)\)
\(=\left(x-1\right)\left(x^3-x-1\right)\)
f: \(=\left(x+1\right)^2\left(x-5\right)+x\left(x-5\right)\)
\(=\left(x-5\right)\left(x^2+3x+1\right)\)