In her program, Kate wants to use the following function:
The template for this function is defined below. Your task is to create additional functions (one for each case) and complete f(x) by calling the additional functions and returning their values. The additional functions are named f1(x), f2(x), and f3(x).
You need to return the values returned by additional functions. You do NOT need to work with the input or print anything.