So, from here $$\int \frac{\sin(x)}{3\cos^3(x)+\sin^2(x)\cdot\cos(x)} dx$$ I divided by cos(x) and I got $$\int \frac{\tan(x)}{2\cos^2(x)+1} dx$$ But I'm stuck here. I tried to substitute $t=\cos(x)$
$$\int \frac{-1}{t\cdot(2t^2+1)} dt$$
Any help would be greatly appreciated.
From the last integral, use $\frac{1}{t(2t^2+1)}=\frac{1}{t}-\frac{2t}{2t^2+1}$. Now, you have: $$\int \frac{1}{t\cdot(2t^2+1)} \, \mathrm{d}t=\int \frac{1}{t} \, \mathrm{d}t-\int \frac{2t}{2t^2+1} \, \mathrm{d}t=\ln|t|-\frac{1}{2}\ln|2t^2+1|+C$$