Create musical pieces by following the given structure and incorporating the supplied motif.
X:1
L:1/8
M:6/8
K:G
['DGG BAB AGG GBd ege', 'gfg efg edB def'  
X:1
L:1/8
M:6/8
K:G
|: E | DGG BAB | AGG GBd | ege dBG | AGA BGE | DGG BAB | AGG GBd | ege dBA | BGG G2 :: z | 
 gfg efg | edB def | g3 eag | fdc def |1 gfg efg | edB def | gdB AGA | BGG G2 :|2 g3 ee/f/g | 
 edB dd/e/f | gba gfe | dBA B2 ||  