Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/16
M:2/4
K:G
['G2>B2 AGED GBdg e2>f2 |{a} gfge', 'agef .g2(dg) edgd egfa .g2(ga) bbbe aaaf'  
X:1
L:1/16
M:2/4
K:G
 D2 | G2>B2 AGED | GBdg e2>f2 |{a} gfge dBAc | BGAF GFED | G2>B2 AGED | GBdg e2>f2 |{a} gfge dBge | 
 dBAB G2 :: .g2(dg) edgd | eaab agef | .g2(dg) edgd | egfa .g2(ga) | bbbe aaaf |{a} ggge .d2(ef) | 
{a} gfge dBge | dBAF G2 z2 :|  