Express
6x2−x+1(3x−1)(x+1)\displaystyle \frac{6x^2 - x + 1}{(3x - 1)(x + 1)}(3x−1)(x+1)6x2−x+1
in the form
A+B3x−1+Cx+1\displaystyle A + \frac{B}{3x - 1} + \frac{C}{x + 1}A+3x−1B+x+1C
where AAA, B B\,B and C C\,C are integers.