Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
Q:1/4=140
M:2/4
K:A
['eaga eaga', 'ceAe ceAe'  
X:1
L:1/8
Q:1/4=140
M:2/4
K:A
|: eaga eaga | eaga fedc | dfBf dfBf | dfBf gfed | eaga eaga | eaga fedc | fgaf ecBA | 
 E2 G2 A2 z2 :: ceAe ceAe | ceAe fedc | dfBf dfBf | dfBf gfed | ceAe ceAe | ceAe fedc | fgaf ecBA | 
 E2 G2 A2 z2 :|  