Precalculus Examples

Find the Inverse g^-1(x)
I am unable to solve this problem.