The integral was: $$\int_{-\frac{\pi}{6}}^{\frac{\pi}{6}}\frac{\pi + 4x^6}{1-\sin(|x|+\frac{\pi}{6})}$$
What I did was to identify that its an even function and write it as: $$2\int_{0}^{\frac{\pi}{6}}\frac{\pi + 4x^6}{1-\sin(x+\frac{\pi}{6})}$$
Then I wrote the denominator in terms of $\cos$ as $$\sin(x+\frac{\pi}{6})=\cos(\frac{\pi}{3}-x)$$ and then I applied the identity $1-\cos x=2\sin^2(\frac{x}{2})$ to finally get :
$$2\biggl[\biggl(\int_{0}^{\frac{\pi}{6}}\frac{\pi}{2\sin^2(\frac{\pi}{6}-\frac{x}{2})}dx\biggl)+\biggl(\int_{0}^{\frac{\pi}{6}}\frac{4x^6}{2\sin^2(\frac{\pi}{6}-\frac{x}{2})}dx\biggl)\biggl]$$
Now the first half is easy to get but how do I integrate the second one? Can someone suggest any steps or perhaps an alternative way?