Let's factor both expressions and see which ones are repeated:
• For gh⁵
We can rewrite this expression as g×h×h×h×h×h
• For 10g⁵h⁴
We can rewrite this expression as 10×g⁴×g×h×h×h×h
As you can see, both expressions have the factor g×h×h×h×h, we can rewrite it as gh⁴.
Then, the greatest common factor of the monomials is gh⁴.