Answer:
Yes you can.
Explanation:
If you are given two functions, you can combine them so the outputs of one function becomes the input of the other. After that, it's just a matter of doing the math. you are essentiall just doing f(g(x)) so yes, it should work with any two functions.