Construct melodies using the designated musical pattern and the provided motif.
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
['A dAF FEF', 'FEF AFE', 'f eAA'  
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
 A | dAF FEF | AFE F2 A | dAF FEF | AFE E2 A |"^5" dAF FEF | AFA d2 d | cBA BAF | AFE E2 :| F | 
"^9" D2 F FEF | AFE F2 E | DFF FEF | AFE E2 F |"^13" DFF FEF | AFA d2 d | cBA BAF | AFE E2 :| f | 
"^17" eAA BAf | eAA A2 f | eAA Bcd | fdB B2 f |"^21" eAA BAB | afa f2 a | fed BdB | AFD E2 :|  