This is a part of a question.
Let $A$ be a real $2\times 2$ matrix such that $\,\det A=1,\operatorname{tr}A>2$.
Why is $A$ diagonalizable?
The original question asks to prove that $A$ and $B$ have a common eigenvector if $\det B=1,\operatorname{tr}B>2,\operatorname{tr}\left(ABA^{-1}B^{-1}\right)=2$.
If $\lambda_1, \lambda)_2$ are the two (complex) eigenvalues of a real matrix $A$ (size $2\times 2$), then we always have $\det(A) = \lambda_1 \lambda_2$ and $\operatorname{tr} A = \lambda_1 + \lambda_2$.
If the eigenvalues would be equal the eigenvalues would be $1,1$ or $-1,-1$ and thus give trace $-2$ or $2$ which is not the case.
So, the eigenvalues are different, and we now have a base of eigenvectors: the two linearly independent (because they have different eigenvalues) eigenvectors of $A$ must form a base of $\mathbb{R}^2$.