The function f(x) takes a numerical input x and multiplies it by 2, then adds 1.

