The function f(x) takes a word as input and applies a rule that replaces each letter with the corresponding letter two positions ahead in the alphabet. For example, if the input word is "cat", the output would be "dog".

