The function f(x) takes a string input and returns a string output based on a simple set of rules. If the input is "hello", the output is "Hello, world!". If the input is "goodbye", the output is "Goodbye, world!". If the input is a combination of "hello" and "goodbye", the output is a concatenation of the two strings.

