Develop melodies utilizing the stated letter notation and the provided theme.
X:1
L:1/8
M:4/4
K:D
['F2 FG FEDE FAAB AFED d2 eg', 'FD FA d2 AG FDFA dfaf gfeg']  
X:1
L:1/8
M:4/4
K:D
|: DE | F2 FG FEDE | FAAB AFED | d2 eg fdec | dBAG BEED | F2 FG FEDE | FAAB AFED | d2 eg fdec | 
 dBAG FD :: FA | d2 AG FDFA | dfaf gfeg | fedf eAcA | dfed cA A2 | BAGB ADFD | dfaf gfed | 
 Bdce dBAG | FGEF D2 :|  