Write musical works that keep the predetermined structure and weave in the given motif
X:1
L:1/8
M:4/4
K:D
['A>Fd>B A>F (3FFF A>Fd>B', 'd>ef>g a>ba>f'  
X:1
L:1/8
M:4/4
K:D
 (3dcB | A>Fd>B A>F (3FFF | A>Fd>B A2 (3dcB | A>Fd>B A>Bd>e | f>ee>f e2 d>B | A>Fd>B A>F (3FFF | 
 A>Fd>B A>Bd>e | f>aa>f g>fe>f | d>BA>F D4 || d>ef>g a>ba>f | g>ag>e a>ba>f | d>ef>g a>ba>f | 
 b>fa>f e2 d2 | d>ef>g a2 a>f | b>ag>b a2 a>f | g>fe>g f2 f>d | e>de>f e2 ||  