Formulate melodies by integrating the designated musical pattern and the supplied motif.
X:1
L:1/8
M:4/4
K:Emin
['B3 c BEGA', 'A3 A AEGA'  
X:1
L:1/8
M:4/4
K:Emin
 B3 c BEGA | BEGc BEGA | B3 c BEGA | BEGG DEGD | B3 c BEGA | BdAc BEAE | GGAG ABAG | DEGA BdcB :: 
 A3 A AEGA | A2 AG AcBA | GAAG AEGA | AGEd BcAG | A3 A AEGA | BcdA BcGA | BcAG ABAG | DEGA BdcB :|  