Generate music with the following musical form in terms and the given motif.
X:1
L:1/8
M:6/8
K:G
['d2 g gfg', 'aga bge dBG ABc B2 A BGD'  
X:1
L:1/8
M:6/8
K:G
 GA |"G" B2 A BGD | GBd g3 | ded"Em" BGA |"Am" BAG"D7" AGA |"G" B2 A BGD | GBd g2 g | ded"Em" BGA | 
"D7" BGF"G" G :| AB |"G" d2 g gfg |"Am" e2 a"D7" aga |"G" bge dBG |"Em" BAG"D7" ABc |"G" d2 g gfg | 
"Am" e2 a"D7" aga |"G" bge dBA |"D7" BGF"G" G |] AB |"G" d2 g gfg |"Am" e2 a"D7" aga | bge dBG | 
"Em" BAG"D7" ABc |"G" B2 A BGD | GBd g2 g | ded"Em" BGA |"D7" BGF"G" G |]  