Compose melodious music utilizing the prescribed letter representation and integrating the given thematic element.
X:1
L:1/8
M:4/4
K:C
['D>ED F>ED A>BA c>AG', '', 'gec gec']  
X:1
L:1/8
M:4/4
K:C
[M:6/8][K:Dmin] .abc A, | D>ED F>ED | A>BA c>AG | ABA A2 G | FAF GEC | D>ED F>ED | A>BA c>AG | 
 AGF EDE | FDD D2 || |: A | d2 e f>ed | f2 g agf | cef gec | gec gec | ded fed | ced cAG | 
 AGF EDE | FDD D2 :|  