Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
Q:1/8=224
M:4/4
K:A
['a2 eg a2', 'ceAe ceAe ceag fedc'  
X:1
L:1/8
Q:1/8=224
M:4/4
K:A
 (3(efg) | a2 eg a2 eg | a2 ea fedc | dfBf dfBf | dfba gfeg | a2 eg a2 eg | a2 ea fedc | 
 defd ecBA | E2 G2 A2 :: (ed) | ceAe ceAe | ceag fedc | dfBf dfBf | dfba gfed | ceAe ceAe | 
 ceag fedc | defd ecBA | E2 G2 A2 :|  