Compose melodious music utilizing the prescribed letter representation and integrating the given thematic element.
X:1
L:1/8
M:4/4
K:Amix
['e3 ef^g agf edc', 'ecA ABA']  
X:1
L:1/8
M:4/4
K:Amix
 e3 ef^g agf edc | e3 efg BGB d2 B | e3 ef^g agf edc | dbd cac BGB d2 B :: ecA ABA ecA Bcd | 
 ecA ABA BGB d2 B | ecA ABA a^gf edc | dfd cec BGB d2 B :|  