The function takes a single real number input x and returns a scaled version of x, where the scale factor is different depending on the input.

