Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:4/4
K:Gmin
['D2 GF GABc dgfa', 'g2 dg'  
X:1
L:1/8
M:4/4
K:Gmin
 F | D2 GF GABc | dgfa gdBG | F2 CF A,FCF | CDFG AGFC | D2 GF GABc | dgfa g2 ga | bagf cdfc | 
 dfcA BG G :| a | g2 dg Bgdg | GBdB gdBG | f2 cf Afcf | FAcf agfa | g2 dg BgdB | GBdg bagb | 
 agfd cdfc | dfcA BG G :|  