Develop melodies by fusing the assigned musical pattern with the given motif.
X:1
L:1/8
M:4/4
K:D
['FAGE DEFA d3 e', 'd2 (3ddd fafd cB (3BBB BedB ca'  
X:1
L:1/8
M:4/4
K:D
 dDDD FAGE | DEFA d3 e | fBBA BcdB | AFED EABc | dD (3DDD FAGE | DEFA d3 e | fB (3BBA BcdB | 
 Acec dABc :| d2 (3ddd fafd | cB (3BBB BedB | ca (3aaa agec | Af (3fff fedc | d2 (3ddd fafd | 
 cB (3BBB BedB | ca (3aaa agec | Acec dABc :|  