I need to solve the following problem:
$$\int{\frac{5x}{(2x^2-3) \sqrt{3x^2-2x+1}}}dx$$
I tried with trigonometric substitution, but I couldn't solve it. The square root is messing me up. I searched it up and nothing appears to work well so I hope someone can help. Thanks.

This is going to get ugly real quick.
$$\int{\frac{5x}{\left(2x^2-3\right)\sqrt{3x^2-2x+1}}}\,\mathrm dx\equiv 5\sqrt3\int\frac x{\left(2x^2 - 3\right)\sqrt{(3x - 1)^2 + 2}}\,\mathrm dx$$
Let $u = 3x - 1\implies\mathrm dx = \dfrac13\mathrm du$ and $x = \dfrac{u + 1}3, x^2 = \dfrac{(u + 1)^2}9$. Therefore,
$$\int\frac x{\left(2x^2 - 3\right)\sqrt{(3x - 1)^2 + 2}}\,\mathrm dx\equiv\int\dfrac{u + 1}{\left(2(u^2 + 2u) - 25\right)\sqrt{u^2 + 2}}\,\mathrm du$$
Next, substitute $u = \sqrt2\tan(v)\implies\mathrm du = \sqrt2\sec^2(v)\,\mathrm dv$. So,
$$\begin{align}\int\dfrac{u + 1}{\left(2(u^2 + 2u) - 25\right)\sqrt{u^2 + 2}}\,\mathrm du&\equiv\int\dfrac{\sqrt2\sec^2(v)\left(\sqrt2\tan(v) + 1\right)}{\left(2\left(2\tan^2(v) + \sqrt{2^3}\tan(v)\right) - 25\right)\sqrt{2\tan^2(v) + 2}}\,\mathrm dv \\ &\stackrel{\sec^2(v) = 1 + \tan^2(v)}=\int\dfrac{\sec(v)\left(\sqrt2\tan(v) + 1\right)}{2\left(2\tan^2(v) + \sqrt{2^3}\tan(v)\right) - 25}\,\mathrm dv\end{align}$$
Perform tangent half-angle substitution to get $$\int\dfrac{\sec(v)\left(\sqrt2\tan(v) + 1\right)}{2\left(2\tan^2(v) + \sqrt{2^3}\tan(v)\right) - 25}\,\mathrm dv\equiv\int\dfrac{1 + \left(\tan^2\left(\frac v2\right)\right)\left(\frac{\sqrt{2^3}\tan\left(\frac v2\right)}{1 - \tan^2\left(\frac v2\right)}\right) + 1}{\left(1 - \tan^2\left(\frac v2\right)\right)\left(2\left(\frac{\sqrt{2^5}\tan\left(\frac v2\right)}{1 - \tan^2\left(\frac v2\right)} + \frac{8\tan^2\left(\frac v2\right)}{\left(1 - \tan^2\left(\frac v2\right)\right)^2}\right) - 25\right)}\,\mathrm dv$$
Finally, let $w = \tan\left(\dfrac v2\right)\stackrel{\sec^2(v) = 1 + \tan^2(v)}\implies\mathrm dv = \dfrac2{1 + w}\,\mathrm dw$. Therefore,
$$\int\dfrac{1 + \left(\tan^2\left(\frac v2\right)\right)\left(\frac{\sqrt{2^3}\tan\left(\frac v2\right)}{1 - \tan^2\left(\frac v2\right)}\right) + 1}{\left(1 - \tan^2\left(\frac v2\right)\right)\left(2\left(\frac{\sqrt{2^5}\tan\left(\frac v2\right)}{1 - \tan^2\left(\frac v2\right)} + \frac{8\tan^2\left(\frac v2\right)}{\left(1 - \tan^2\left(\frac v2\right)\right)^2}\right) - 25\right)}\,\mathrm dv\equiv\int\dfrac{2\left(w^2 - \sqrt{2^3}w - 1\right)}{25w^4 + \sqrt{2^7}w^3 - 66w^2 - \sqrt{2^7}w + 25}\,\mathrm dw$$
From here on, you need to factorize the denominator and obtain partial fractions.