Compose melodious music utilizing the prescribed letter representation and integrating the given thematic element.
X:1
L:1/8
M:2/2
K:D
['Acef gf Ace^g ag a2 Acef']  
X:1
L:1/8
M:2/2
K:D
 DFAd |"D" fdfd"A" cdec |"D" dBAF DFA=c |"G" BGBG"D" FGAF |"A" E2 FE"D" DFAd |"D" fdfd"A" cdec | 
"D" dBAF DFA=c |"G" BGBd"A" cdec |"D" d4 :: Acef |"G" gf g2"A" Ace^g | ag a2 Acef |"G" gfge dfed | 
"A" cB A2 Acef |"G" gf g2"A" Ace^g | ag a2 Acef |"G" gfge"A" cdec |"D" d4 :|  