# How do you divide (x^5-3x^3+ 3x +2)/((x^2-1)(x+2)?

${x}^{2} - 2 x + 2 + \frac{- 4 {x}^{2} + x + 6}{\left({x}^{2} - 1\right) \left(x + 2\right)}$
The denominator is ${x}^{3} - x + 2 {x}^{2} - 2$