Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
M:6/8
K:D
['FDF AFD', 'D2 dcd AFD dcd ecA =cBc GEC'  
X:1
L:1/8
M:6/8
K:D
 FDF AFD | ABc dAG | FDF AFD | EB,E GFE | FDF ABc | dfe dcd | cBA GEC | EDD D2 :| dcd AFD | 
 dcd ecA | =cBc GEC | =cBc dBG | dcd ABc | dfe dcd | cBA GEC | EDD D2 :|  