The function f(x) implements a simple multiplication operation, where the output is equal to the input multiplied by 2.

