(Algebra 1-2) Y'all please help

Answer:
g = 2 and h = 8
Step-by-step explanation:
g and h are different integers greater than 1 and less than 10.
√g + √h is irrational, which means either g or h (or both) aren't perfect squares.
√g √h is rational, which means gh is a perfect square.
Through trial and error, g = 2 and h = 8.