Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:6/8
K:G
['GFG AGA Bee dBA BAB GAB', 'dBA Bee'  
X:1
L:1/8
M:6/8
K:G
 GFG AGA | Bee dBA | BAB GAB | AGE GED | GFG AGA | Bee dBA | BAB GAB | AGF G3 :| gfe fed | 
 ege dBA | Bee dBA | Bee e2 f | gfe fed | ege dBA | BAB GAB | AGF G2 f | gfe fed | efe dBA | 
 Bee dBA | Bee e2 f | gfg aga | bge dBA | BAB GAB | AGF G3 |]  