You didn't bother to share the actual definition of the functions, so all I can tell you is to replace every instance of in the outer function with a copy of the definition of the inner function and then simplify the expression.
John
My calculator said it, I believe it, that settles it