Solve WHAT ? Where do you see an equation to solve? I do not see it. I see the definition of the function g(x). There is nothing to SOLVE. Do you understand what you want?