I'm not sure how to proceed.
Let us find all possible solutions for the matrix $A$ which commutes with any other matrix $X$. In other words:
$$AX=XA$$
Stating the matrix multiplication explicitly we can conclude that for any $i,j\in\{1,2,3\}$:
$$\sum_{n=1}^3 A_{i,n} X_{n,j} = \sum_{n=1}^3 X_{i,n} A_{n,j}$$
At this point I do not know what to do anymore. How do I proceed?