We are missing the rest of g(x).
Even so, let's see if I can help.
Just like f(3) = (3 - 8)/(3 - 7), you replace x with g(x).
g(f(x)) is the other way around.
Calculate both fully and you should end up with x once you combine like terms and divide.
Mario M.
05/19/18