Which is an example of an extended metaphor?

A poem that is about how the rain walks all over the city at different speeds
Two lines in a poem that says an otters eye looks like a black walnut
A line in a poem that says a man’s voice is the boom of a baritone
An entire poem comparing a swimmer to a dolphin

An entire poem comparing a swimmer to a dolphin is an example of an extended metaphor.