Generate music with the following musical form in terms and the given motif.
X:1
L:1/8
Q:1/8=160
M:6/8
K:G
['GAG GBd gdB GAB cBc EFG', 'B dBd ede fdf gfe'  
X:1
L:1/8
Q:1/8=160
M:6/8
K:G
 D | GAG GBd | gdB GAB | cBc EFG | AFD DEF | GAG GBd | gdB GAB | cBc EFG | AGF G2 :| B | dBd ede | 
 fdf gfe | dBd efg | fd^c d2 B | dBd ede | fdf gfe | dcB Agf | gdB G2 :|  