1. "The trees' leaves waved in the wind" This is personification, the translation would be that the leaves are simply swaying as the wind is moving across.
2. "The girl giggled evilly like hyenas stalking their prey" This is a simile, it uses "as" or "like".
3. "He was basically a roadrunner in the race!" Metaphor is like a simile, but it doesn't use "as" or "like".