The rule applied by the function f(x) is that it returns the last letter of the input word.

