Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
Q:1/8=180
M:4/4
K:Emin
['e2 eg fede fgab gefd e2 BG', 'GEE F GABd G2 GB GABd cAAa'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:Emin
 F | GEed e2 eg | fede fgab | gefd e2 BG | AcBA GEEF | Eee^d e2 eg | fede fgab | gefd e2 BG | 
 (3ABc BA GEE |: F | GABd G2 GB | GABd cAAa | gefd e2 BG |1 AcBA GEE :|2 AcBA GE E2- | E8 |]  