Editorial
Need a hint? Checkout the editorial.
View Editorial
Editorial
Let $x:=a+bi,y:=c-di$. The given conditions tell us $|x|=|y|=1$ and $xy=(bc-ad)i$. Since $|xy| = |x||y| = 1$, we know that $bc-ad\in\{-1,1\}$. WLOG, $bc-ad=-1$ (the other case is similar)