I need help in Integrating $$\int\frac{x}{\sqrt[3]{x^{3}-3x-2}}dx$$
This question came in the MIT-BEE competition in the year $2025$
My Approach
First of all I tried to solve this integral by factorizing the denominator.
Clearly $(x+1)$ is a factor of the polynomial $(x^3-3x-2)$
Therefore I tried to evaluate the integral in this way :-
Let
$$I= \int \frac{x}{\sqrt[3]{x^{3}-3x-2}}dx$$
$$\implies I=\int\frac{x}{\sqrt[3]{(x+1)^{2}(x-2)}}dx$$
$$\implies I=\int\frac{x}{(x+1)^{\frac{2}{3}}(x-2)^{\frac{1}{3}}}dx$$
Now I thought of substituting $x=\tan^{2}\theta \implies dx=2(\tan\theta)(\sec^{2}\theta)d\theta$
$$\implies I =2\int\frac{(\tan^{3}\theta)(\sec^{2}\theta)}{(\sec^{\frac{4}{3}}\theta)(\tan^{2}\theta-2)^{\frac{1}{3}}}d\theta$$
Now I can't understand how to proceed further from the last step
Please help me.