Create melodies using the given musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:D
['FDFA dfaf gfed dcBA', 'D2 Ac d2 fd c2 ec BABc'  
X:1
L:1/8
M:4/4
K:D
|: AG | FDFA dfaf | gfed dcBA | G2 BG F2 dF | EDEF GBAG | FDFA dfaf | gfed dcBA | dAaf baec | 
 d2 A2 D2 :: Ac | d2 fd c2 ec | BABc dAFD | G2 BG F2 dF | EDEF GBAG | FDFA dfaf | gfed dcBA | 
 dAaf baec | d2 A2 D2 :|  