Formulate melodies by integrating the given motif within the predetermined arrangement.
X:1
L:1/8
Q:1/4=100
M:6/8
K:G
['d3 B3 GAB A3 c2 B ABG', 'G3 ded g2 g ded b3 bag'  
X:1
L:1/8
Q:1/4=100
M:6/8
K:G
 d3 B3 | GAB A3 | c2 B ABG | F2 G A2 D | d3 B3 | GAB A3 | c2 B ABG | AGF G3 || ded g2 g | ded b3 | 
 bag fed | c2 d e2 A | d^cd ede | fef g3 | fga Bgf | ed^c"^D.C." d3 |]  