integrate (3x+1)/(x^3 - 1)