The function f(x) takes a numerical input x and returns the absolute value of 2x.

