We know that if $A$ is $2\times 2$ square matrix\begin{bmatrix}a&b\\c&d\end{bmatrix}, such that $A$ is commutative over multiplication with any $2\times 2$ matrix, then $A$ is a scalar matrix. To prove that I tried to rely on the matrix multiplication and then I got $4$ equations to solve. I calculated the dot product of $A$ and $B$:\begin{bmatrix}e&f\\g&h\end{bmatrix} two times in both directions. So $$ce + dg = ga + hc \ \ \text and \ \ af + bh = eb + fd.$$ And for the diagonal elements we get $$gb = cf = ea.$$ So the result of the multiplication give us a matrix such that its diagonal elements are the same. That's all I could get.
I just needed to prove that the diagonal elements of $A$ are scalars and the rest are zeros, but I faced a dead end, because I got stuck in a circle.
Can you help?!