Develop musical pieces that incorporate the given motif and follow the specified structure.
X:1
L:1/8
M:6/8
K:G
['GAG gfg', 'G2 d dBG dBG ecA dBG gba'  
X:1
L:1/8
M:6/8
K:G
 G | GAG gfg | edc B2 A | GAG BAG | FAA cBA | GAG gfg | afd cAF | DEG Adc | BGG G2 :| d | dBG dBG | 
 ecA dBG | gba gBd | cAA ABc | dBg dBG | EFG AFD | GFG Adc | BGG G2 :|  