The function f(x) scales negative inputs by a factor of 0.5 and positive inputs by a factor of 1.5.

