Develop melodies utilizing the stated letter notation and the provided theme.
X:1
L:1/8
M:2/2
K:D
['FAGF E(FED) CDEG', '(fg) afd(f g)ece fdc(d']  
X:1
L:1/8
M:2/2
K:D
 (AG) | F2 (FE) FAGF | E(FED) CDEG | FA d2 cd e2 | (3(efd) (3(cdB) A(GFE) | F(GFE) FAGF | 
 E(FED) CDEG | FAd(A BG)FE | D2 (DE) D2 :: (fg) | afd(f g)ece | fdc(d B)AFA | BGFG E2 (gf) | 
 (3(efd) (3(cdB) A2 (fg) | afd(f g)ece | fdc(d B)AGE | FAd(f g)ec(e | d2) dc d2 :|  