Evaluate fog and go f and use the results to determine if g is the inverse function of f.
