Which of the following excerpts contains an example of figurative language?

Which one is right

• When the cobra runs for her life, she goes like a whip-lash flicked across a horse's neck.

The motto of all the mongoose family is "Run and find out

• They gave him a little piece of raw meat. Rikki-tikki liked it immensely, and when it was finished he went out into the verandah and sat in the sunshine and fluffed up his fur to make it dry to the roots.

• He looked at the cotton-wool, decided that it was not good to eat, ran all around the table, sat up and put his fur in order, scratched himself, and jumped on the small boy's shoulder.

"When the cobra runs for her life, she goes like a whip-lash flicked across a horse's neck."