Calculate integrate (x^2)/(x^3 + 1) dx