Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:2/2
K:E
['e>gf>e d>ef>d B>cB>A', 'B>fg>a g>ee>e'  
X:1
L:1/8
M:2/2
K:E
 (ug>.a) | (b>.g)(a>.f)"^SEGUE" e>gf>e | d>ef>d B>cB>A | G>B"^4"e>^d c>fa>f | e3 (f/e/) d>fg>a | 
 b>ga>f e>gf>e | d>ef>d B>cB>A | G>B"^4"e>^d c>af>^d | e2 g2 E2 :: (!fermata!ud>.e) | 
 (f>.B)(B>.B)"^SEGUE" B>fg>a | g>ee>e e>fg>a | b>ge>g a>gf>e | d>bc>^a b>ed>e | f>BB>B B>fg>a | 
 g>ee>e e>fg>^a | b>fg>e d>fe>c | B2 d2 B2"_D.C." :|  