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
['DGG FGA GAB cdc Bdg gfd cAG', 'd2 g gag'  
X:1
L:1/8
M:6/8
K:G
|: DGG FGA | GAB cdc | Bdg gfd | cAG FGA | DGG Fdc | BGB c3 | dgf dcA | DGF G3 :: B | d2 g gag | 
 dec ABc | Bdg gfg | c'ag fga | d2 g gag | fdc ABc | BdB cAF | DGF G2 :|  