It is difficult to write out the process of solving indefinite integral, (1) ∫ (x ^ 2 + 2) DX / (x + 1) ^ 3 (2) ∫ (1-lnx) DX / (x-lnx) ^ 2

It is difficult to write out the process of solving indefinite integral, (1) ∫ (x ^ 2 + 2) DX / (x + 1) ^ 3 (2) ∫ (1-lnx) DX / (x-lnx) ^ 2

1.∫(x^2 +2)dx/(x+1)^3=∫(1/(x+1))dx-2∫(1/(x+1)^2)dx+3∫(1/(x+1)^3)dx
So ∫ (x ^ 2 + 2) DX / (x + 1) ^ 3 = ln (x + 1) + 2 / (x + 1) - (3 / 2) / (x + 1) ^ 2
2.x/(x-lnx)
Sorry, two is visual