I am having trouble solving this differential equation: $$y\left(3x+\frac{6x^2\sin^2(\frac x2)}{x-\sin x}\right)\,\mathrm dx=\frac{\sqrt x\,\mathrm dy}{(x-\sin x)^{\frac32}}.$$ I know it is separable but I cannot seem to be able to solve it. Is there even a way to do it analytically?
This is where I get stuck: $$\frac{\mathrm{d}y}{y} = (x^2 - x\sin x)^{\frac{1}{2}} \left( 3x - 3\sin x + 6x\sin^2\left( \frac{x}{2} \right) \right) \,\mathrm{d}x.$$ The left side is easy to integrate, but the right side is a problem.
Hint: With simplification $$2x^2y\ d\ln\left(x(x-\sin x)\right)=\dfrac{x^2\ dy}{(x(x-\sin x)^\frac32}$$