Develop melodies utilizing the stated letter notation and the provided theme.
X:1
L:1/8
M:4/4
K:Dmix
['', 'D2 (3EFG AGFD GABd', 'Ad d2 D3']  
X:1
L:1/8
M:4/4
K:Dmix
 FG |: A2 (3GFE D2 (3EFG | AGFD GABd | ADFE EDDF | GABD CEGB | ADFE D2 (3EFG | AGFD GABd | 
 B3 G E2 (3FGA | B2 (3AGF EFGB :: Ad d2 D3 D | GAAA GEED | Ad d2 D3 G | BG G2 ECCE | Ad d2 D3 D | 
 GAAA GEEA | BG G2 cGEC | G,A,A,G, A,A,FG :|  