Compose melodious music utilizing the prescribed letter representation and integrating the given thematic element.
X:1
L:1/8
Q:3/8=90
M:6/8
K:D
['afd ecA', 'Ace e2 f gfe']  
X:1
L:1/8
Q:3/8=90
M:6/8
K:D
|: afd ecA | afd ecA | Bcd efg | fed ecA | afd ecA | afd ecA | Agf edc | d3 D3 :: Ace e2 f | 
 gfe fga | Ace e2 f | gfe f3 | G3 FGA | Bcd efg | fed ecA | d3 D3 :|  