Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:6/8
K:Gmin
['G^FG ABc d2 =e f=ef', 'gdg a2 g'  
X:1
L:1/8
M:6/8
K:Gmin
 D2 G G^FG | ABc d2 =e | f=ef dfd | cAF AGF | DGG G^FG | ABc d2 =e | f=ef dcA | G2 z G2 z :: 
 g2 d g2 d | gdg a2 g | f2 c2 f2 c | fcf fcf | gdg gdg | gdg a2 g | ded cBA | G2 z [Gg]2 z :|  