Compose melodious music utilizing the prescribed letter representation and integrating the given thematic element.
X:1
L:1/8
M:4/4
K:C
['(3(gfe) dc', 'fdef g2 bg dgbg dega bg g2']  
X:1
L:1/8
M:4/4
K:C
[M:2/2][K:G] .abc G2 (BG) DGBG | D2 (3(FED) dAFA | G2 BG DGef ||1 (3(gfe) dc BGAF :|2 
 (3(gfe) dc BG G2 || g2 bg dgbg | fgag fdef | g2 bg dgbg | dega bg g2 | dgbg dgbg | fgag fdef | 
 gaba gedc | (3(Bcd) AG FDEF |]  