Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
M:4/4
K:Edor
['e<A A2', 'B<e e>f g>e'  
X:1
L:1/8
M:4/4
K:Edor
|: e<A A2 B>G d>B | e<A A2 d>g (3fed | e<A A2 B>G d>B | B<G G>B d>g (3fed :: B<e e>f g>e a>f | 
 B<e e>f g>e (3fed | B<e e>f g>e a>f | d<B G>B d>g (3fed :|  