The function takes a numerical input x and multiplies it by a constant factor of 2, except when the input is negative, in which case it multiplies the input by -1 instead. The function also adds a constant value of 10 to the result.

