Build a musical piece by incorporating the given motif into the prescribed form.
X:1
L:1/8
M:6/8
K:G
['g3 def g2 a bag']  
X:1
L:1/8
M:6/8
K:G
"^~~" B3 cBc | ded cAG |"^~~" F3 DED | DGG FGA |"^~~" B3 cBc | dcA d2 e | fed cAF |1 
 AGF"^~~" G2 A :|2 AGF GB/c/d |"^~~" g3 def | g2 a bag |"^~~" f3 de/f/g | afd cAF |"^~~" g3 def | 
 g2 a bag | fed cAF ||1 AGF GB/c/d :|  