Assonance and alliteration
In the sentence pattern for asking questions, the subject is placed immediately after the operator (Operator [did, does, was] + Subject) while in the sentence pattern for making statements, the subject is placed before the verb phrase (Subject + VP). However, some statements may be in question form (You've already eaten?) and some questions (such as rhetorical ones) may be in statement form (Haven't you peed already?).
"Sentences" is the punning word in #1, for judges give out sentences. And teachers, as well. Get it? Sentences?
"Manor" is the punning word in #2. Get that? Castle? Home? Manor instead of manner? A pun is a joke exploiting the different possible meanings of a word or fact that there are words that sound alike but have different meanings.
Another example of a pun is:
The pigs were a squeal.
I wondered why the baseball was getting bigger. And then it hit me.
Do you understand now? LOL. (: Hope this helps(: