f(x) is a linear function that maps x to x^2.
