The question is: Which of the following matrices, when substitued for T, satisfies the matrix equation

I know that the answer is the matrix but how do you obtain it without guessing/checking the other choices they had? I mean you can't divide both sides by T like any other equation, so I'm stuck..