Answer: both are personification i believe!
Explanation: curtains can't actually wave and trees don't have emotions
What on earth are you talking about ? this makes no sense.
I believe the answer would be theme
Hope this helps
A subordinate clause doesn't form a complete sentence and contains a subject and verb.
So, the subordinate clause is "By the time they arrived."