Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
M:4/4
K:G
['BcdB cBAB', 'eAAA eAAA eAeg'  
X:1
L:1/8
M:4/4
K:G
 B2 BA BcdB | cBAB cdec | Add^c dcAG | FGBF DEFD | ABBA BcdB | cBAB cdef | g2 fg ecAF |1 
 GGGF G2 DG :|2 GGGF GABc || dggf gdBd | g2 fg eAAA | eAAA eAeg | fgag fgaf | g2 gf gdBd | 
 g2 fg eAAA | eAAA eAeg |1 fgaf g2 ef :|2 fgaf gfed ||  