Formulate melodies by integrating the given motif within the predetermined arrangement.
X:1
L:1/8
Q:1/8=140
M:6/8
K:G
['ABG FGA BAG', 'ABG FGA BAG'  
X:1
L:1/8
Q:1/8=140
M:6/8
K:G
"^set dance" D | DGG GFG | ABG FGA | BAG GFG | Ade f2 e |"^5" d2 e c2 d | ABG FGA | BAG FEF | 
 G3 G2 :| d |"^9" dgg gfg | ab/a/g f2 a | ga/g/f d2 e | =fg/f/e c2 e |"^13" de/d/c A2 B | 
 cd/c/B G2 B | AB/A/G F2 A | GFD EDC |"^17" DGG GFG | ABG FGA | BAG GFG | Ade f2 e | 
"^21" d2 e c2 d | ABG FGA | BAG FEF | G3 G2 :|  