Construct melodies using the designated musical pattern and the provided motif.
X:1
L:1/8
M:2/2
K:D
['d3 e fafe dfed BA', 'D3 E FABF A2 BA FBAF EFDE', 'a2 ab a2'  
X:1
L:1/8
M:2/2
K:D
 f2 fa f2 d2 | fdec d3 e | fafe dfed | BA F2 D3 (3A/B/c/ | defd e2 de | fd e2 d3 e | fafe dfed | 
 BA F2 D3 |: E | FABF A2 BA | FBAF EFDE | FBAF ABFB | AFEF D3 :: z | a2 ab a2 f2 | abaf edfg | 
 a2 ab a2 g2 | fd e(d d2) z2 :|  