Phrase pattern

Who → does what → to whom → ไหม

A yes-or-no question is the same sentence with ไหม at the end

who+does what+whom or what+ไหม

Several rules work together in this pattern: who → does what → what; a question word goes where the answer would be.

Practice with this pattern changes the words each time. They come from the words you're learning.

Kai says

In Thailand, a nickname is often a name people use every day, not just a shortened version of a formal name. It may be chosen before the formal name itself.