Compose melodious music utilizing the prescribed letter representation and integrating the given thematic element.
X:1
L:1/8
M:4/4
K:A
['a eAcA dG B2 eAce ae c2', 'AAA B GGGB dG B2 AAAe ae']  
X:1
L:1/8
M:4/4
K:A
 a | eAcA dG B2 | eAce ae c2 | eAcA dGBd | ecdB AAA :: B | GGGB dG B2 | AAAe ae c2 | GGGB dGBd | 
 ecdB AAA :|  