Formulate melodies by integrating the designated musical pattern and the supplied motif.
X:1
L:1/8
M:4/4
K:Edor
['E^DEF GFGA', 'Bdef gagf'  
X:1
L:1/8
M:4/4
K:Edor
|: (3B,C^D | E^DEF GFGA | B2 B2 G3 A | B<E E^D EFGE | FGFE D2 B,2 | E^DEF GFGA | BAGB d3 =c | 
 B.b E2 GFE^D | E6 (3B,C^D | E^DEF GFGA | B2 B2 G3 A | B<E E^D EFGE | FGFE ^D3 B, | E^D E<F GFGA | 
 BAGB ded=c | B.b E2 GF E<^D | E6 (3B^c^d || e2 e2 Bdef | gagf e/f/(g g2) | e2 B=c BAB^c | 
 dedc d ^d3 | e2 d2 Bdef | gagf efed | Bd e<g fedf | e6 ef | g2 (3gab f2 (3fga | ed B<c d3 e | 
 dBAF GA B<c | dB A<F GFED | B,2 E2 EFGA | B2 e2 e3 f | e2 B=c BAGF | E6 :|  