I'm confused as to how to approach this problem. We are learning about the real and imaginary parts of a complex number.
$z=x+iy$ $$ \operatorname{Re} [(2+i)z] $$
I multiplied out $2+i$ with $x+iy$ and then took the real parts to get $2x-y$. But it doesn't feel like it's right. That seems too simple.
UPDATE
Ok so the resounding response seems to be that I did it right. However how do you all explain this website? It defines $\operatorname{Re} z$ and $\operatorname{Im} z$ a bit differently.
The real and imaginary parts are given by:
$$ \operatorname{Re} z = \frac {z + \bar z} 2 \\ \operatorname{Im} z = \frac {z - \bar z} {2i} $$