The first sentence, “When I get home, the warm smell from the kitchen greets me at the door,” is an example of personification, as it attributes the human action of greeting to a smell.
The second sentence, “The soup gurgles and splats on the stove when it boils over,” includes onomatopoeia, as it uses words that mimic the sounds associated with the actions being described (gurgles and splats).
So, to summarize:
- The first sentence is personification.
- The second sentence is onomatopoeia.