Generate music with the following musical form represented in alphabets and the given motif.
X:1
L:1/8
M:4/4
K:G
['BG G2 GEDG E3 G A2 GE', 'gedg eaag a2 ga bg g2 agef']  
X:1
L:1/8
M:4/4
K:G
|: BG G2 GEDG | E3 G A2 GE | DEGA B3 d | ed d2 (3Bcd gd | BG G2 GEDG | E3 G A2 GE | DEGA B3 d | 
 egdc BG G2 :: dg g2 gedg | eaag a2 ga | bg g2 agef | gedc BG G2 | g3 a gedg | eaag a2 ga | 
 bg g2 agef |1 gedc BG G2 :|2 gedc BGdc ||  