The difference between synecdoche and metonymy is that, synecdoche uses a part of the whole to represent something, whereas, metonymy uses a different word or phrase to represent something in place to the original term.
i. Synecdoche - using the word "mouth" that represents a part of an individual
ii. Synecdoche - using the word "kettle" to represent the whole part of that is being boiled.
iii. Metonymy - using the words "cradle" and "grave" as a representation for the actual terms "birth" and "death".
iv. Metonymy - using the term "Shakespeare" referring to someone who likes to write poems
v. Metonymy - using the term "daily bread" which refers to basic needs.