On the generating functions of pattern-avoiding Motzkin paths. (November 2022)