Tossing their heads in sprightly dance is personification (giving a nonhuman thing human-like traits) so this is your answer. None of the others options are in the poem anyways even though all the other options are figurative language as well.
Explanation:
is there like a file to this if not i think it means ...........