Compose melodious music utilizing the prescribed letter representation and integrating the given thematic element.
X:1
L:1/8
M:4/4
K:G
['GDBD G2 (3GBg f2 ed ecAG', 'G2 Bc dcBd gdBd (3gfg af gdBf']  
X:1
L:1/8
M:4/4
K:G
 (3DEF | GDBD G2 (3GBg | f2 ed ecAG | (3FAF DE FGAc | (3BAG AF GFED | GDBD G2 (3GBg | f2 ed ecAG | 
 FAdB cAFG | (3ABA GF G2 :: Bc | dcBd gdBd | (3gfg af gdBf | g2 (3fgf ed^cd | (3efe d^c d2 (3def | 
 g2 dc (3BdB (3GAB | (3cec (3AcA (3FAF DF | GBdB cAFG | (3ABA GF G2 :|  