f(x) is a linear function that maps each input x to 2 times x.

