There is a problem in the partial problem exercise of my math book that is giving me some trouble working out. Here is the problem:$\displaystyle \frac {x^2+x+1}{(x^2-1)(x^2+1)}$ so I started break it up into smaller fraction $\displaystyle \frac {x^2+x+1}{(x^2-1)(x^2+1)}= \frac{Ax+C}{x^2-1}+ \frac {Bx+D}{x^2+1}$

$\displaystyle x^2+x+1 = (Ax+C)(x^2+1)+(Bx^2+D)(x^2-1)$ and here is where I got stuck. Can someone Please help me with this?