Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:6/8
K:E
['e2 E (G>A)B e>fg f2 d (e>f)g', 'E2 E>FE GAG g>eg f2 d (e>f)g'  
X:1
L:1/8
M:6/8
K:E
 e2 E (G>A)B | e>fg f2 d | (e>f)g e<BG | A<FD E E2 || E>FE GAG | g>eg f2 d | (e>f)g (e<B)G | 
 A<FD E E2 ||  