Formulate melodies by integrating the given motif within the predetermined arrangement.
X:1
L:1/8
M:9/8
K:G
['def gag fed', 'e dBG GAG'  
X:1
L:1/8
M:9/8
K:G
 def gag fed | g2 B B2 c d2 e | def gag fed | a2 A A2 B c2 e :: dBG GAG G2 e | dBG GAG g2 e | 
 dBG GAG G2 B | c2 B A2 B c2 e :|  