Produce melodies following the designated musical arrangement and the given motif.
X:1
L:1/8
M:4/4
K:D
['B A2 (AB) defd (3fff (eF) E2', 'D f2 a2 fd a2 (fd)gf e2'  
X:1
L:1/8
M:4/4
K:D
 B | A2 (AB) defd | (3fff (eF) E2 EF | AFAB defd | cAdF D2 D :: f2 a2 fd a2 | (fd)gf e2 e2 | 
 dfaf df a2 | (fd)ef d2 d :|  