Create musical pieces that adhere to the given structure and incorporate the supplied motif
X:1
L:1/8
M:4/4
K:D
['(A>Bd) A B2', 'd2 (d>e) (fd) (eB) (dA) (BF) E2'  
X:1
L:1/8
M:4/4
K:D
 F>E | D3 A (A>Bd) A | B2 (e>f) e2 d B | d2 a2 (f>ga) d | f2 (a>b) a2 z d | (g>ab) g f>ga f | 
 (gfe) d e2 d f | D3 F (A>Bd) A | B2 (d>e) d2 :: (d>e) | (fd) (eB) (dA) (BF) | E2 e2 e2 (fa) | 
 (ba) (fb) (ad) (bd) | f2 (a>b) a2 (gf) | (g>ab) g (f>ga) f | (gfe) d e2 (d/e/) f | D3 F | 
 (A>Bd) A | B2 (d>e) d2 :|  