Integration of $\arcsin(f(x))$ $$\int\sin^{-1}\left(\dfrac{2x+2}{\sqrt{4x^2+8x+13}}\right)dx$$
$\text {attempt}$ Let $x+1=u$, then the internal function becomes $\frac {2u}{\sqrt{4u^2+9}}$, and $dx=du$. Then I attempted by parts but derivative of $sin^{-1}(f(x))$ is troubling me in second part of IBP. Any better approach, or am I missing on a trick? I only know that the answer contains $\ln$ and $\tan^{-1}$. Thanks!

Let $$I = \int \sin^{-1}\left(\frac{2x+2}{\sqrt{(2x+2)^2+3^3}}\right)dx$$
Now Put $2x+2=3\tan \theta\;,$ Then $\displaystyle dx = \frac{3}{2}\sec^2 \theta d \theta$
So Using Integration by parts $$I = \frac{3}{2}\int \theta \sec^2 \theta d \theta = \frac{3}{2}\left[\theta \tan \theta+\ln |\sec \theta|\right]+\mathcal{C}$$
So $$I = \frac{3}{2}\cdot \frac{2x+2}{3}\tan^{-1}\left(\frac{2x+2}{3}\right)+\frac{3}{2}\ln \left(\frac{\sqrt{3^2+(2x+2)^2}}{3}\right)+\mathcal{C}$$
So $$I = (x+1)\cdot \tan^{-1}\left(\frac{2x+2}{3}\right)+\frac{3}{2}\ln \left(\frac{\sqrt{3^2+(2x+2)^2}}{3}\right)+\mathcal{C}$$
