the first one:

where , and bounds change as well, and

For the indefinite, Wolfram gives:

integral x/(x^3+1)^2 dx = 1/18 (log(x^2-x+1)+(6 x^2)/(x^3+1)-2 log(x+1)+2 sqrt(3) tan^(-1)((2 x-1)/sqrt(3)))+constant

Pretty messy, but you can use it for the remaining half.

Hope this helps.