Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:2/4
K:G
['GG (3D(B,G,) (3D(GD)', '(G/F/E/D/) (3CEC (3B,DB, (A,>B,)', '(G/F/E/)D/ Gg e(d/B/)'  
X:1
L:1/8
M:2/4
K:G
 D | GG (3D(B,G,) | (3D(GD) (3(B,A,B, | G,2){c} (3BAF | GG (3D(B,G,) | (3D(GD) (3(B,A,)B, | DG G :: 
 A | (G/F/E/D/) (3CEC | (3B,DB, (A,>B,) | G,2{c} (3BAF | (G/F/E/D/) (3CEC | (3B,DB, (A,>B,) | 
 DG G :| D | (G/F/E/)D/ Gg | e(d/B/) d/(e/f/g/) | a2{A} (3BAF | (G/F/E/)D/ Gg | e(d/B/) (3d(gd) | 
 BG G :|  