Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/8=180
M:2/2
K:none
['z z', 'A2 cAeA fAeA cAec B2 B2 cAeA'  
X:1
L:1/8
Q:1/8=180
M:2/2
K:none
"_No key in MS" z z z z z dfec | B2 B2 | c>BAg | faec | d>fec | A2 A2 :: cAeA | fAeA | cAec | 
 B2 B2 | cAeA | fAec | dfec | A2 A2 :|  