Generate music with the following musical form in terms and the given motif.
X:1
L:1/8
M:4/4
K:G
['DGGA B2', 'DGGA B2', 'G2 fgag fd d2 dgfa g3 a'  
X:1
L:1/8
M:4/4
K:G
|: DGGA B2 ag | efdc AGGF | DGGA B2 AG | AdcA G3 F :: DGGA B2 ag | efdc AGGF | DGGA B2 AG |1 
 AdcA G3 F :|2 AdcA G4 |: fgag fdde | f3 d cA G2 | fgag fd d2 | dgfa g3 a | b2 af gfde | 
 f3 d cAGF | DGGA B2 AG |1 AdcA G4 :|2 AdcA G3 F ||  