Construct a melodic piece using the prescribed alphabetical outline and provided motif.
X:1
L:1/8
M:6/8
K:G
['BAB cBc', 'g3 def g2 a bag']  
X:1
L:1/8
M:6/8
K:G
 z A | BAB cBc | ded cAG | F2 D DED | FED FGA | BAB cBc | dcA d2 e | fed cAF | AGF G :| Bd | 
 g3 def | g2 a bag | f3 def | afd cAd | g3 def | g2 a bag | fed cAF | AGF G :|  