Create harmonious melodies following the given letter notation and incorporating the designated theme.
X:1
L:1/4
M:2/2
K:D
['d e Mf2 Ma3/2 f/ Me Md', 'A A/B/ A']  
X:1
L:1/4
M:2/2
K:D
 d e |:"D" Mf2 Ma3/2 f/ |"G" Me Md MB2 |"A" e2 f3/2 e/ |"D" d B"A" A2 |"D" f2 a3/2 f/ | 
"G" e d B/c/d/e/ |"D" f a"A7" f e |"D" d2- d z :| d/c/ |:"D" A A/B/ A A/B/ | A d d c | 
"Em" B B/c/ B B/c/ | B e"A7" e/d/c/B/ |"D" A A/B/ A A/B/ | A d"G" d e |"D" f a"A7" f e | 
"D" d2- d z :|  