Question: Is there a way to try to write this complicated function in terms of other given expressions?

I have this tedious looking function that I want to write in terms of the other expression but the command i usually use does not work here because the expressions are not polynomials. I am wondering if there is an alternative to doing this manually.
Temp.mw

Please Wait...