Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/4=180
M:4/4
K:C
['E2 A^GAB A=GEG A^GAB cBcd efge', 'a^gab a=geg'  
X:1
L:1/8
Q:1/4=180
M:4/4
K:C
|: E2 | A^GAB A=GEG | A^GAB cBcd | efge dedc | B2 G2 G2 E2 | A^GAB A=GEG | A^GAB cBcd | efge dedB | 
 c2 A2 A2 :: eg | a^gab a=geg | a^gab a=geg | gfga gedc | B2 G2 G2 eg | a^gab a=geg | 
 a^g ab a2 AB | cBcd egde | c2 A2 A2 eg | a^gab a=geg | a^gab a2 ef | gage dedc | B2 G2 G2 cB | 
 A^GAB cBce | dcBA GABG | A ^GAB cBcd | e2 A2 A2 :|  