Write musical works that keep the predetermined structure and weave in the given motif
X:1
L:1/8
Q:1/8=100
M:4/4
K:D
['AB d2 gf edB>A']  
X:1
L:1/8
Q:1/8=100
M:4/4
K:D
"^moderate" A | AFAB d2 g>f | edBA A2 cd | e2 fg a2 gf | e4- e2 ef | gefg a2 gf | edBA A2 AB | 
 d2 gf edB>A | A4- A2 ef | gefg a2 ba | gfed B2 AB | d2 gf edB>A | A4 A2 z |]  