I feel like this is probably a simple problem, but i'm stumped.

the question is "Write the expression in standard form"

$\displaystyle \frac{(2+i)^2(-i)}{1+i}$

I know the standard form, it's just that when I divide my answer doesn't match the answer in the back of the book which is $\displaystyle \frac{1}{2}-\frac{7}{2i}$