Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/4=120
M:4/4
K:Emin
['B z', 'd z b2 (agfe)'  
X:1
L:1/8
Q:1/4=120
M:4/4
K:Emin
|:"^Spirited" egfe d z B z | cBAc B z A z | BGAF GEF^D | EFGA B2- B z | Be^de f z f z | 
 edcB g z g z | agfg a z a z | baga b z b z | (bc')(a^d') (e'b)(c'b) | (ab)(ga) (fg)(af) | 
 (gb)(ac') (bd')(e'c') | b2 a>g g2 z a | (gc')(ba) (ga)(gf) | (eg)(fe) =d z B z | 
 (cB)(Ac) (B^d)(e>B) | (AG)({G}F>E) E2 E z :: B z A z G z F z | EFGA B2 B z | (Be)(^df) (eg)(fa) | 
{ga} b3 a g2 z a |{g} b z{g} b2 BGEG |{b} d' z{b} d'2 dBGB |{f} a z{f} a2 AFDF | gfe>f d2 z e | 
 d z b2 (agfe) | d z b2 (agfe) | ^d^cBd eBGB | AGF>E E2 z2 :|  