Generate music with the following musical form in terms and the given motif.
X:1
L:1/8
M:4/4
K:G
['d2 G2 GB AB c2 E2 E2', 'g4 f3 d efed A2 AG FGAB'  
X:1
L:1/8
M:4/4
K:G
 Bc | d2 G2 GB AB | c2 E2 E2 AG | FGAB cBcd | e2 d2 B3 c | d2 G2 GB AB | c2 E2 E2 AG | FGAB cADF | 
 A2 G2 G2 :: Bd | g4 f3 d | efed A2 AG | FGAB cBcd | e2 d2 B3 d | g4 f3 d | efed A2 AG | 
 FGAB cADF | A2 G2 G2 :|  