Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:9/8
K:Edor
['', 'edB B2 A G2', 'gfe fed'  
X:1
L:1/8
M:9/8
K:Edor
 e |: edB B2 A G2 E | E2 e e2 d efg | edB B2 A G2 A | Bdd d2 B def | edB B2 A G2 E | 
 E2 e e2 d efg | edB B2 A G2 A | Bdd d2 B def :: e2 f gfe fed | Bee eed edB | e2 f gfe fed | 
 BAB d2 B def | e2 f gfe fed | Bee eed efg | agf gfe fed | BAB d2 B def :|  