The function f(x) scales the input value up or down by a factor of 2, 3, or -1, depending on the input value.

