i think it is true because matrices can be derive using algebra
but if you want a sure answer just experiment and make the matrix A and matrix B a real matrix by putting true value that what you want
(and not difficult* 2x2 is the most easiest to solve) and then perform the equation given if it is equal then the equation is true!