Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:6/8
K:G
['G3 DED', 'dBG A3 ABA AGF E3 B3 deg', '(3.G.G.GG eaa aga bge e2 d |1'  
X:1
L:1/8
M:6/8
K:G
|: edB G3 | DED G3 | DED c2 A | BGE E2 d | edB G3 | DED G3 | AGF GBA |1 GFE DBd :|2 GFE D3 |: 
 B3 dBG | B3 dBG | A3 ABA | AGF E3 | B3 deg | age d2 B | cBA GBA | GFE D3 :: efg efg | 
 dBG (3.G.G.GG | eaa aga | bge e2 d |1 efg efg | dBG GBd | agf gba | gfe d3 :|2 def gaf | 
 gfe d2 B | cBA GBA | GFE D3 ||  