Here is the answer.
ans
I used the Frobenius inner product. Correct me if your textbook is using another definition.