Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:6/8
K:G
['GED G2 A', 'E2 f g2 e fed ege dBA'  
X:1
L:1/8
M:6/8
K:G
|: D | GED G2 A | Bge dBA | GED G2 A | BGB AFD | GED G2 A | Bge dBA | GEE BAB | GEE E2 :: f | 
 g2 e fed | ege dBA | gfe afd | Bee e2 f | gfe fed | e/f/ge dBA | GEE BAB | GEE E2 :|  