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

