First, distribute the exponents outside each set of parenthesis. Remember, an exponent raised to an exponent means you multiply the two exponents.
(25g10h12)(g16h8)
Then, multiply the two expressions together. Remember, when you multiply a base by the same base, you add exponents.
25g26h20
That's your answer!