Create musical composition by adhering to the given musical structure represented by letters and integrating the given motif.
X:1
L:1/8
M:9/8
K:D
['D2 A', 'd2 d dfd']  
X:1
L:1/8
M:9/8
K:D
 D2 A AFA B2 d | D2 A AGF E2 D | D2 A AFA B2 c | dcB AdF E2 D :: d2 d dfd cec | d2 d dfd e2 c | 
 d2 d dfd cec | dcB AdF E2 D :|  