Answer:
g ≠ -4 and g ≠ 6
Explanation:
Let,

Which is a rational function,
Since, a rational function is defined for all real numbers except those for which denominator = 0,
If

By the middle term splitting,




By the zero product property,
g + 4 = 0 or g - 6 = 0
⇒ g = -4 or g = 6
⇒ h(g) is defined for all real numbers except g = -4 and g = 6,
i.e. domain restriction is,
g ≠ -4 and g ≠ 6