## Why $xx^TM$ requires $O(dk)$ operations?

Suppose $$x \in \mathbb{R}^d$$ and $$M \in \mathbb{R}^{d \times k}$$.

Why $$xx^TM$$ requires $$O(dk)$$ operations?