Formulate melodies by integrating the designated musical pattern and the supplied motif.
X:1
L:1/8
M:4/4
K:D
['FEDF AFDc dBcd ecAg fdge fdec', 'z2 ecAc efge afdf bgeg afdf geaf'  
X:1
L:1/8
M:4/4
K:D
 FEDF AFDc | dBcd ecAg | fdge fdec | dBcd ecAG | FEDF AFDc | dBcd ecAg | fdge fdec | d2 ec d2 z2 :: 
 ecAc efge | afdf bgeg | afdf geaf | gefd ecAG | FEDF AFDc | dBcd ecAg | fdge fdec | d2 ec d2 z2 :|  