This is a system of equation problem, so we will solve it as such.
- Lets write out the equations we have:
5g - 2h = -5
7 = h - 4g --> h - 4g = 7 --> -4g + h = 7
- Let's label the equations
5g - 2h = -5 -- equation 1
-4g + h = 7 -- equation 2
(equation 2) * 2
-8g + 2h = 14 -- equation 3
(equation 3) + (equation 1)
-3g = 9
g = -3 -- equation 4
plug (equation 4)'s value of g into (equation 2)
-4(-3) + h = 7
12 + h = 7
h = -5
Thus g = -3 and h = -5
However, when we look at the problem, we see that (-5,-3) is the incorrect answer.
(-5,-3) is in the format (g,h)
Thus the answer must be in the format (h,g) to be correct
So the answer is (-3,-5)
Hope that helps!