Generate music with the following musical form in terms and the given motif.
X:1
L:1/8
M:4/4
K:D
['BGAG Bdeg BGAG DE G2 BGAG EGDG', 'G2 fded cB=cd e2 gf dc A2'  
X:1
L:1/8
M:4/4
K:D
|: BGAG Bdeg | BGAG DE G2 | BGAG EGDG | dedA fd A2 | BGAG DGBG | AGdG fdAd | edfd Bdgd | 
 edBA BG G2 :: fded cB=cd | e2 gf dc A2 | BGAG DFAB | cABG A2 Bc | defd dBAB | EGBd edfd | 
 Bdgd edBA | BG G2 z4 :|  