@ Aspi,
Can you please explain what is definite integration formula you mentioned above f(x)=f(a-x).
I am rationalizing numerator and denominator by cosx+isinx. After that i am getting
Integral 0 to pi/2 1 - 2sin^2x - isin2x. I don't know how to proceed from here.