Design melodies by integrating the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/2=100
M:3/2
K:Emin
['BAGF G2 E2 gfeg fe^df e2', 'dcBA B2 G2'  
X:1
L:1/8
Q:1/2=100
M:3/2
K:Emin
 E4 G4 B4 | e2 (dc) BAGF G2 E2 | gfeg fe^df e2 B2 | A2 (cB) AGFE ^D2 B,2 | E4 G4 B4 | 
 e2 dc BAGF G2 E2 | gfeg fe^df e2 (BA) | GFEG B,2 ^D2 E4 || G4 B4 d4 | g2 (fe) dcBA B2 G2 | 
 bagb agfa g2 dc | BAGB D2 F2 G4 | BA^G=F EdcB c2 A2 | AGFE dcBA B2 G2 | gfeg fe^df e2 BA | 
 GFEG B,2 ^D2 E4 |]  