When dealing with a composition
h(x) = f(g(x)),
the function f is called the outside function and the function g is called the inside function. f is the outside function because it's written on the outside of the parentheses:
g is the inside...