Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:4/4
K:Ador
['A2 ed', 'edBd (3efg fa g3 e dgge dBGB'  
X:1
L:1/8
M:4/4
K:Ador
|: A2 ed BedB | AG (3GGG AGEG | A2 ed (3B^cd ef | gfga gedg | eA (3AAA BedB | AGEF G3 A | 
 EA (3AAA GABd |1 gedB A2 (3EFG :|2 gedB A3 e |: efge agfg | e a3 edBd | (3efg fa g3 e | 
 dgge dBGB | cBcA d^cdB | efge a2 ga | bg (3ggg agab |1 gedB A3 e :|  