Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:6/8
K:E
['gec BGB cAc BGB', 'd cAc'  
X:1
L:1/8
M:6/8
K:E
 gec BGB | cAc BGB | gfe Beg | gfe fba | gec BGB | cAc BGB | cec Bba |1 ged e2 f :|2 ged e2 c || 
 BGE EGB | egf e2 d | cAc Beg | gfe fec | BGE EGB | egf e2 d | cAc Bba |1 ged edc :|2 ged e3 ||  