Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:4/4
K:C
['G2 (BG)', '(ef) gfed'  
X:1
L:1/8
M:4/4
K:C
 BEA |[M:2/2][K:G]SOSOO .!fermata!PMTuCO MG2 (BG) dGBG | G2 (BG) EAAF | G2 (BG) dGBd | 
 cABG (EG) G2 | G2 (BG) dGBG | dGBG EAAF | G2 (Bc) dege | dBAG (EG) G2 || gfed (3(Bcd) (ef) | 
 gfed eaag | gfed BcdB | cABG EGGd | gfed (3(Bcd) (ef) | gfed (ea) a2 | bgaf gedB | cABG (EG) G2 |]  