The function takes a numerical input x and multiplies it by 2 if x is positive, and multiplies it by -2 if x is negative.

