The function takes a numerical input x and returns a value that is 2 units away from x in the positive direction, or 2 units away from x in the negative direction if x is negative.

