Would like = want, if you want to add a verb after want, you should add to, which means you want to do it. If you want to add nouns after want, you can add nouns directly.
Example:
1, me? Want it? Where to? Say? How come? Are you actually happy? Me? Me? That? You are. Really? Answer? Baby?
I want to say how happy I am that you are pregnant.
2、Do? What about you? Want it? Another one? Cup? Yes? coffee
Would you like another cup of coffee?
Similarly, if you want to add a verb after would like, you should add to, which means willing to do it. If you want to add a noun after would like, you can add a noun directly.
Example:
I want a glass of water.
I want a glass of water.
I want to drink a glass of water.
I want to drink a glass of water.
Extended data:
Two basic uses of to:
1 as a preposition means "to, to, to", such as go to and fly to, followed by a noun as an attribute to form a subject-object structure.
The sign of infinitive is very common, such as: I want to do it, I am willing to do it.
Note that some seemingly infinitive structures are actually prepositions, such as look, attention to, and they are followed by the ing form of verbs as objects. Never follow the prototype. Others, such as to +do as an attribute, are basically extensions of the above two usages.