\(=\dfrac{1+x+1-x}{1-x^2}+\dfrac{2}{1+x^2}+\dfrac{4}{1+x^4}\)
\(=\dfrac{2}{1-x^2}+\dfrac{2}{1+x^2}+\dfrac{4}{1+x^4}\)
\(=\dfrac{2+2x^2+2-2x^2}{1-x^4}+\dfrac{4}{1+x^4}\)
\(=\dfrac{4}{1-x^4}+\dfrac{4}{1+x^4}\)
\(=\dfrac{4+4x^4+4-4x^4}{1-x^8}=\dfrac{8}{1-x^8}\)