Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:4/4
K:Edor
['B>E (3EEE', '(3ded c>d'  
X:1
L:1/8
M:4/4
K:Edor
|: c>d | B>E (3EEE B>Ed>c | B>E (3EEE (3ded c>d | B>E (3EEE (3Bcd d>B | A<FD>F (3ded :: c>d | 
 e>E (3EEE d>Ec>d | e>E (3EEE (3ded c>d |1 (3efe B>E d>EB>E | A>DF<A d2 :|2 e>c (3dcB c>A (3BAG | 
 F>D (3DDD d2 ||  