My attempt:

I looked at this Wikipedia article under the section "Computation" where it says that:

for

I'd assume this is the definition I need to look at because in the formula, it says that and the omega is the imaginary part.

So that leaves me with:

So I've figured out this much. I'm a bit confused as what to do next. What about ?