Generate music with the following musical form represented in alphabets and the given motif.
X:1
L:1/8
M:2/2
K:G
['DGBG DGBd cBAG F2 AF', 'DGBG DGBd cBAG F2 AF', 'gfed gabg']  
X:1
L:1/8
M:2/2
K:G
 (G | D)GBG DGBG | DGBd cBAG | F2 AF DFAF | DFAc BcAF | G2 BG DGBG | DGBd cBAG | F2 AF DFAc | 
 BcAF G2 [G_B]2- | [GB]2 B2 DGBG | DGBd cBAG | F2 AF DFAF | DFeg fdcA | G2 BG DGBG | DGBd cBAG | 
 F2 AF DFAc | BcAF G2 || (G | D)GBG DGBG | DGBd cBAG | F2 AF DFAF | DFAc BcAF | G2 BG DGBG | 
 DGBd cBAG | F2 AF DFAc | BcAF G2 [G_B]2- | [GB]2 B2 DGBG | DGBd cBAG | F2 AF DFAF | DFeg fdcA | 
 G2 BG DGBG | DGBd cBAG | F2 AF DFAc | BcAF G2 || ([B-f]2 | [Bg]3) a gfed | gabg agef | 
 g2 ga gedc | BdAF GFED | [Bg]3 a gfed | gabg ag-ga | baba gedc | (Bc)AB G2 ([B-f]2 | 
 [Bg]2) ga gfed | gabg aged | g2 ga gedc | BdAF GE D2 | [Bg]2 ga gfed | gabg agga | baba gage | 
 dcBA G2 ||  