Solution: Lexicon to derivation