You may want to review evaluating functions first.

Functions can be added, subtracted, multiplied and divided, just
like numbers. If *f* and *g* are functions, say,
then *f* + *g* is another function. To compute (*f*
+ *g*)(2), say, you compute *f*(2) and *g*(2) and
add them together. The other operations work similarly.