Develop melodies utilizing the stated letter notation and the provided theme.
X:1
L:1/8
M:4/4
K:D
['dA A2 DEFA defe dBBA B2 AF', 'D2 faab afdf gfed (3Bcd ef g3']  
X:1
L:1/8
M:4/4
K:D
|: dA A2 DEFA | defe dBBA | B2 AF ABde | fede fe (3eee | dA A2 DEFA | defe dBBA | B2 AF ABdB | 
 AFEG FD D2 :: faab afdf | gfed (3Bcd ef | g3 f gbag | fgaf egfe | dB B2 AF F2 | DFBF ABdf | 
 gfef dBAF | Aaag fe d2 :|  