Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
M:4/4
K:D
['dF (3FFF fdec', 'gfed Be (3eee gfed cebg afge fa'  
X:1
L:1/8
M:4/4
K:D
 dF (3FFF fdec | dfec dAFA | Be (3eee BeGB | gefd ecAc | dF (3FFF fdec | dcAF G3 E | FAde fdeg |1 
 fdec Addc :|2 fdec Adde |: fa a2 afdf | bfaf gfed | Be (3eee gfed | cebg afge | fa a2 fdde | 
 fdec dcAF | G3 B efge |1 fdec Adde :|2 fdec Addc ||  