### Equation in Matrix

I have problem in center of Terwilliger Algebra. But, I will explain simple problem for simplicity my problem.

For example, I have matrix

```
A=Matrix([[a1,a2],[a3,a4]]);
```

and also I have

```
B1=Matrix([[1,0],[0,0]]);B2=Matrix([[0,1],[0,0]]);B3=Matrix([[0,0],[1,0]]);B1=Matrix([[0,0],[0,1]]);
```

These matrix have condition

```
AB=BA
```

for any `B=B1,B2,B3,B4`

If I solve it by hand, it is easy to get `a1,a2,a3,a4`

. But how to do it by sage? Can sage solve it? Thanks