\(\frac{x-1}{x^2-x+1}-\frac{x+1}{x^2+x+1}=\frac{10}{x\left(x^4+x+1\right)}\)
\(\Leftrightarrow\frac{x\left(x-1\right)\left(x^2+x+1\right)-x\left(x+1\right)\left(x^2+x+1\right)-10}{x\left(x^4+x^2+1\right)}=0\)
\(\Rightarrow x\left(x^3-1\right)-x\left(x^3+1\right)-10=0\)
\(\Leftrightarrow x^4-x-x^4-x-10=0\)
\(\Leftrightarrow-2x-10=0\)
\(\Leftrightarrow x=-5\)