Create melodies using the given musical pattern and the provided motif.
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
['D2 FD ADFA defd B2 Bc dBBA', 'd2 de'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
 D2 FD ADFA | defd B2 Bc | dBBA dBBA | FADE FE E2 | D2 FD ADFA | defd B2 Bc | dBBA FAdB | 
 AFGE FD D2 :| d2 de fefg | afdf gfed | cdef gebe | gebe gfec | dcde fefg | afdf gfed | cdef gbag | 
 fdec d2 de | fdec d2 de | fded B2 Bc | dBBA dBBA | FADE FE E2 | D2 FD ADFA | defd B2 Bc | 
 dBBA FAdB | AFGE FD !fermata!D2 ||  