I am no genius, look at the denominator of the answer, there is no imaginary so you must 'realise' the denominator (like rationalising - by timing top and bot by conj)
And the rest is trig identities (double/half angles) and trying to make LHS look like the RHS, by taking out the half, by factorising 'i', blah blah
If you know your basics, then everything will be fine!