Answer:
this is actually two functions i think, so in whole it would not be considered a function.
Step-by-step explanation: