The function 10/((x-1)(x^2+9) can be broken up into the partial fractions
1/(x-1) - (x+1)/(x^2+9)
The first one is simple (natural log of abs(denominator)). The second part is a bit more involved. I used trig substitution and worked through it. Use x=3*tan(theta).
When all is said there will most likely be more than one correct possible answer but the one I found is
ln(abs(x-1))-ln(Sqrt(x^2+9))-(1/3)*arctan(x/3) plus a constant.
For the second one the first thing I did was to do long division. This yielded
1- (3x^2+3x+1)/(x+1)^3
Next I worked out the partial fractions with the remainder that is left over from long division.
A/(x+1) + B/(x+1)^2 + c/(x+1)^3 = (3x^2+3x+1)/(x+1)^3
Some algebra (I like to equate the coefficients for this) yielded
A=3, B=-3 and C=1
Then do the integration on each section and you should get
x - 3*ln(abs(x+1)) - 3/(x+1) + 1/(2*(x+1)^2) plus a constant of course.
And if you take the derivative of this you will get back you integrand, which means you are correct.