Hello. You didn't show which words are underlined, so I'll give you the grammatical name and function of all of them.
What: Pronoun. It has the function of referring to or replacing a noun, representing something, which does not have a specific name, but which needs to be represented in the sentence. The pronoun is a variable word.
To do: Verb. It has the function of representing an action, an activity that will be performed by something or someone.
Is: Verb. It has the ability to represent a state or occurrence.
Problem: Noun. It has the function of naming something or someone.
5 is antithesis
9 is allegory
11 is maxim
17 is simile
19 is simile
24 is metonymy
I hope this helps you.
I think the correct answer from the choices listed above is the last option. It is in the sentence "We were stuck in the parking lot behind all the exiting cars." that the word exiting is a gerund. Gerunds<span> are words that are formed with verbs but act as nouns. Hope this answers the question. Have a nice day.</span>