An example of metaphor in F. Scott Fitzgeralds short story "Babylon Revisited" is:

Having the character of Marion dislike the main character

Making the story take place in paris to suggest a romance scene

Using the title to hint at the ruins of a life of excess wealth

Including a child to make the main character seem more likeable