A rotation by \( 90^\circ \) counterclockwise of a complex number \( z = x + iy \) can be achieved by multiplying it by \( i \), i.e., the new number is \( iz \).
So, \[ z = 2 + i \] \[ iz = i(2 + i) = 2i - 1 = -1 + 2i \] Thus, the correct answer is (C).
Let \(S=\left\{ z\in\mathbb{C}:\left|\frac{z-6i}{z-2i}\right|=1 \text{ and } \left|\frac{z-8+2i}{z+2i}\right|=\frac{3}{5} \right\}.\)
Then $\sum_{z\in S}|z|^2$ is equal to