Formulate melodies by integrating the given motif within the predetermined arrangement.
X:1
L:1/8
M:9/8
K:G
['g2 B BAB', 'e fdd afd gfe :|2 g2 e'  
X:1
L:1/8
M:9/8
K:G
|: E3 e2 B G2 B | A2 A A2 G A2 B | E3 G2 B e2 f |1 gfe fed B3 :|2 gfe fed e2 e || g2 B BAB g2 e | 
 f2 A AFA f2 d |1 g2 B BAB g2 e | fdd afd gfe :|2 g2 e fed efg | BcB AGF E3 ||  