The integral is $$\int \csc(2x)dx$$ I have tried transforming it into $$\int \frac{1}{\sin(2x)}dx $$ then using u-sub. I get $$u=\sin(2x)$$ $$du=2\cos(2x)$$ but I have trouble getting $du=1$, because then I can take the $\ln(u)$
I then thought of using one of $\cos(2x)$'s double angle formulas but still nothing.
To help get the proper solution, I looked up the answer in the back of the book and its $$-\frac{1}{2} \ln\mid\csc(2x)+\cot(2x)\mid+C$$
$$\int \csc(2x)dx=\int \sec\left(\frac{\pi}{2}-2x\right)dx$$ Now, taking $u=\frac{\pi}{2}-2x$ we get $$-\frac{1}{2} \int \sec(u)du$$ and recall that, this is equal to $$-\frac{1}{2} \log \big| \sec(u)+\tan(u)\big|+c$$ Returning the variables $$-\frac{1}{2} \log \left| \sec\left(\frac{\pi}{2}-2x\right)+\tan\left(\frac{\pi}{2}-2x\right)\right|+c=-\frac{1}{2}\log \big|\csc(2x)+\cot(2x)\big|+c$$