The function takes a numerical input and returns a value that is twice the input value, plus or minus a value based on the input's sign. The output is limited to the range of [-5, 5].
