So I have this ought to be simple example in my lecture notes but I just can't wrap my head around this guys solution.

I understand how there are $n$ multiplications but how are there $n$ additions for each element? Given a $3\times3$ multiplied by a $3\times3$ isn't the number of operations $45$, because there will be $\frac{2}{3}$ as many additions as multiplications so how is this equal to $2n^3$? I hope I'm not being crass. Thanks