Answer:
g = 2 and h = -5
Explanation:
To find the product with unknown values of variables, multiply the terms and equate the value to the given product.
=

=
... (1)
Comparing eq(1) to the product given in question,
-8g = -1
g = 2
24 + gh = 14, sub g =2,
24 + 2h = 14
h = -5