The function f(x) takes a numerical input and multiplies it by 2 if it is positive, and adds 10 if it is negative.
