Solution:

My attempt:

Can somebody explain why the solution differs from my solution?

I have tested Arg(iw) with any number w>0 and they all give me pi/2?

Also I don't understand how they got the subtraction when mine ends up being a sum?