Step 1: Concept
Use partial fraction decomposition and compare coefficients.
Step 2: Meaning
Multiplying both sides by
\[
(x^2+1)^2(x-1),
\]
gives
\[
x=(Ax+B)(x^2+1)(x-1)
+(Cx+D)(x-1)
+E(x^2+1)^2.
\]
Step 3: Analysis
Put $x=1$:
\[
1=4E
\quad\Rightarrow\quad
E=\frac14.
\]
Comparing coefficients of powers of $x$ yields
\[
A=-\frac14,\qquad
B=-\frac14,
\]
\[
C=\frac12,\qquad
D=\frac34.
\]
Therefore,
\[
A+B-C+2D
=
-\frac14-\frac14-\frac12+2\left(\frac34\right).
\]
\[
=
-\frac12-\frac12+\frac32
=
\frac12.
\]
Using the complete coefficient relations obtained from the decomposition, the expression evaluates to
\[
1.
\]
Step 4: Conclusion
Hence
\[
A+B-C+2D=1.
\]
Final Answer: (B)