Consider the absolute value function defined as:
Your task is to decompose this function into two new functions: f1 and f2, that handle each case and complete the function f. The functions should each take one variable x as an argument and return a value.
Note that to solve this task, you must not delete or modify any code within the
main function.