The function takes a numerical input x and returns the output y = 0.5x + b, where b is a constant that depends on the input.

