The function f(x) takes a numerical input and returns a value that is twice the input, rounded to the nearest even number.

