Let $$A = \left(\begin{array}{cc}1&-2 \\ -2&5 \end{array}\right) \in M_n(\mathbb{C})$$
Let $$B = \left(\begin{array}{cc}-3&6 \\ 6&-10 \end{array}\right) \in M_n(\mathbb{C})$$
Is there an orthogonal matrix Q so that the $Q ^ tAQ$ and $Q ^ tBQ$ matrices are diagonal