Generate music with the following musical form represented in alphabets and the given motif.
X:1
L:1/8
M:2/2
K:G
['BGBg f2 e2 edgf e2 dc', 'ga bgaf g2 fe edgf e2 dc']  
X:1
L:1/8
M:2/2
K:G
 d2 | BGBg f2 e2 | edgf e2 dc | Bgdg edcB | A2 ab a2 z c | BGBg f2 e2 | edgf e2 dc | Bdgd e2 BA | 
 G2 G2 G2 :: ga | bgaf g2 fe | edgf e2 dc | Bdgd edcB | A2 aa a2 ga | bgaf g2 fe | edgf e2 dc | 
 Bdgd e2 BA | G2 G2 G2 :|  