Create melodies by incorporating the provided musical pattern and motif.
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
['A2 F', 'AdA f2 e d2 f Afd'  
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
 d/B/ | A2 F FdB | A2 F FdB | A2 E EAB | AEE EAB | A2 F FAB | A2 F Fdf | edc ABd | fdd d2 :| z | 
 AdA f2 e | d2 f Afd | efe e2 d | cBA cBA | AdA f2 e | d2 f Afd | edc ABc | d3 d2 :|  