Which sentence contains a gerund phrase?

Troubled by the noise from the trains, Cole began to wear sound-muting headphones.

To sing with the Metropolitan Opera has been my dream throughout my life.

The goal of the class was learning how to use a computer keyboard.

Washing clothes regularly allows Annabelle to always have something clean to wear.