Answer:
Reflexive pronouns.
Step-by-step explanation:
The words "yourself" and "themselves" is a reflexive pronoun.
Remember, a pronoun is a word used instead of a Noun.
Now, a reflexive pronoun are pronouns that has -selves or -self as suffix (that is, they are found at the end of the word) and they can act as object or indirect object in a sentence.