Generate music with the following musical form in terms and the given motif.
X:1
L:1/8
Q:3/8=110
M:9/8
K:D
['d2 B AFA', 'F2 A AFA'  
X:1
L:1/8
Q:3/8=110
M:9/8
K:D
 d2 B AFA AFA | d2 d def gfe | d2 B AFA ABc | d2 D DEF E2 D :: F2 A AFA AFA | G2 B BGB BGB | 
 F2 A AFA ABc | d2 D DEF E2 D :|  