Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
M:4/4
K:C
['', 'ABcd (3e^fg ed', '(3e^fg ed'  
X:1
L:1/8
M:4/4
K:C
[M:4/4][K:Amin] ae ae[Q:1/8=180].dB || A3 A A2 BA | GEDE GE D2 | (3ABA GB ABcd | (3e^fg ed cAdc | 
 AG[Gc]G EG[Gc]G | GEDE GEDE | A3 A ABcd | (3e^fg ed cA A2 || eg g2 ea a2 | (3e^fg ed cAcd | 
 (3e^fg ed cAcd | egge d2 cd | eg g2 ea a2 | (3e^fg ed cAAB | c2 gc acgc | eage d4 ||  