Generate music with the following musical form represented in alphabets and the given motif.
X:1
L:1/8
M:2/2
K:G
['B2 AG', 'DGBG cABG']  
X:1
L:1/8
M:2/2
K:G
 d | g2 dc B2 AG | FGAB cAAf | gdec B2 AG | FGAc BGG :| B | DGBG cABG | DGBG cAAB | DGBG cABG | 
 BdAc BGGB | DGBG cABG | DGBG cAAc | Bdef gedc | GdAc BGG ||  