==> \((3x - 1) = (Ax + B)\,(x + 2)\, + \,C({x^2} - x + 1)\)
Comparing the coefficient of like terms, we get \(A + C = 0\), \(2A + B - C = 3\), \(2B + C = - 1\) ==> \(A = 1\), \(B = 0\), \(C = - 1\)
\(\therefore {{3x - 1} \over {(1 - x + {x^2})\,(2 + x)}} = {x \over {{x^2} - x + 1}} - {1 \over {x + 2}}\).