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