The function f(x) takes a string input and replaces each letter with a corresponding letter a fixed number of positions down the alphabet. For example, if the input string is "hello", the output string would be "kjghd".

