Generate music with the following musical form represented in alphabets and the given motif.
X:1
L:1/8
M:9/8
K:D
['', 'A3 AGF AGF', 'd2 d fed', 'D2 d', 'AFd AFd', 'Bcd dfd ded cBA d2 d fed', 'Bcd AFD']  
X:1
L:1/8
M:9/8
K:D
 D |: A3 AGF AGF | A2 A AGF Bcd | A3 AGF AGF | EFE cBA Bcd :: d2 e fed cBA | d2 d fed fga | 
 d2 d fed cBA | BcB BAF Bcd :: D2 d dAF dAF | D2 d dAF Bcd | D2 d dfd AGF | EFE BAF Bcd :: 
 A2 B AFd AFd | AFd AFd Bcd | A2 d AFd AGF | EFE cBA Bcd :: dfd ded cBA | d2 d fed fga | 
 gfg afd cBA | BcB BAF Bcd :: AFD DFD DED | DFD DED Bcd | AFD DED AGF | EFE cBA Bcd :|  