Develop melodies utilizing the stated letter notation and the provided theme.
X:1
L:1/8
M:6/8
K:G
['dBG cAF GBd gfg afd', 'G2 B efe fe^d eBG EFG def']  
X:1
L:1/8
M:6/8
K:G
 B | dBG cAF | GBd gfg | afd cBc | ecA ABc | dBG cAF | GBd gfg | afd cAF | G3 G2 :| B | efe fe^d | 
 eBG EFG | def ed^c | dAF DEF | GFG AGA Bcd efg | afd cAF | G3 G2 :|  