Create harmonious melodies following the given letter notation and incorporating the designated theme.
X:1
L:1/8
M:4/4
K:D
['D2 D2', 'ecAc fdAf gfgf gece', 'B2 B^A B2 Bc dcde']  
X:1
L:1/8
M:4/4
K:D
 (3ABc | d2 dA F2 AF | D2 D2 D2 FA | B2 BA G2 ed | cded cABc | d2 dA F2 AF | D2 D2 D2 FA | 
 B2 Bd cdec | d2 f2 d2 || cd | ecAc fdAf | gfgf gece | dcdB BAGF | E2 e2 e2 (cd) | ecAc fdAf | 
 gfgf gece | dcde fef^g | a^gag a2 || F2 | B2 B^A B2 Bc | dcde f3 e | edcd Bcde | f2 F2 F2 ^A2 | 
 B2 B^A B2 Bc | dcde fgfe | fgfe dcB^A | B2 B2 B2 ||  