Algebra Examples

Write as a Function of g g(x)
I am unable to solve this problem.