Write musical works that keep the predetermined structure and weave in the given motif
X:1
L:1/8
M:4/4
K:D
['d2 AF d2'  
X:1
L:1/8
M:4/4
K:D
 (3(ABc) |"D" d2 AF d2 AF |"D" d2 fd"A" ecAg |"D" fgaf"G" gfed |"A" c2 A2 A2 (3(ABc) | 
"D" d2 AF d2 AF |"D" d2 fd"A" ecAg |"D" fgaf"A" bgec |"D" d2 d2 d2 :: fg |"D" afde fgaf | 
"G" gecd"A" efge |"D" fgaf"G" gfed |"A" c2 A2 A2 fg |"D" afde fgaf |"G" gecd"A" efge | 
"D" fgaf"A" bgec |"D" d2 d2 d2 :|  