The function is
(Take f(x))
(Rewrite with rational exponent)
(Logarithmic propertie: )
()
Therefore f(x) = g(x).