The function f(x) extracts the first two letters of a given word and returns them as the output.

