Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:4/4
K:C
['c2 c2', 'c2 gf efed ^cABc f2 [Ae]2 [Af]2'  
X:1
L:1/8
M:4/4
K:C
 (3GAB | c2 c2 BcdB | cGec g2 e2 | c2 c2 Bcde | dBcA Ggfd | c2 c2 BcdB | cGec g2 e2 | fdec dBGB | 
 cedB c2 :: gf | efed ^cABc | f2 [Ae]2 [Af]2 fe | dedc BGAB | c2 [Gd]2 [Ge]2 GG | AFAc fefg | 
 agec Bdgf | ecGE FAdc | BGAB c2 :|  