On the Hermitian structures of the solution to a pair of matrix equations