Given the function g(x) and the composite function fg(x). Find the function f(x).f(x) is a function which is the outside function.