Create melodies using the given musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:C
['', '(3=cdc Bd', 'eB=ce d2 ad bdad abag fddf efgb'  
X:1
L:1/8
M:4/4
K:C
[M:4/4][K:D] a!p![Q:1/8=360] ed |: =cded (3cdc Bd | AdGd ADDd | ddd^c d3 e | fdeg fded |1 
 (3=cdc Bd (3cdc (3BcB | (3ABA Gd AD D2 | DEFG Adde | =cAGd ADDB :|2 (3=cdc Bd cGBd | 
 =cAG=F E=CB,C | (3DE=F EG FAdB | =cA (3GFE D3 g || efgb (3agf g2 | gagf eB=ce | d2 ad bdad | 
 abag fddf | efgb (3agf g2 | gagf eB=ce | defg abag |1 fage dcd ||2 faec dfed ||  