The function f(x) takes a string input and returns a modified version of that string, with certain words or phrases replaced by others.

