Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:4/4
K:A
['AGAB c2 BA', 'ecec a2 ec'  
X:1
L:1/8
M:4/4
K:A
 AGAB c2 BA | GABc d2 cB | AGAB c2 BA | GB E2 GB E2 | AGAB c2 BA | GABc d2 cB | cecA BdBG | 
 A2 A2 A2 :| ecec a2 ec | gdfd a2 gd | ce A2 ce A2 | GB E2 GB E2 | ecec a2 ec | gdgd a2 gd | 
 cecA BdBG | A2 A2 A2 :|  