What figurative language is fading memories or foot prints in the sand

The phrase "fading memories" is an example of a metaphor, while "footprints in the sand" is a form of imagery.