f(x) takes a word as input and returns the last syllable of the word, unless the word ends in a vowel, in which case it returns the second-to-last syllable.

