I would interpret this as "given [itex]f(x)= (1- e^{-ix})^2[/itex] show that [itex]f(x)= sin^2(x)[/itex].
Except for the slight problem that they are NOT equal! For example, when [itex]x= \pi/2[/itex], [itex]1- e^{-i\pi/2}= 1+ i[/itex] while [itex]sin^2(\pi/2)= 1[/itex].
y35dp, can you please tell us what the problem really is?