Suppose the temperature recorded by a weather balloon is a function of height, T= f(h) (if you want a specific function, just put in any function you like for f), and that the height of the balloon is a function of time, h= g(t). Then the temperature, as a function of time, it the composite function, .

Now, do you understand what that means? That is far more important than just giving an answer.