Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
M:3/4
K:G
['gfed g/f/e/d/', 'A2 GBdBdc B2 G2 B2 GBdBcA A2', 'A2 B2 GcBA B2 G2 B2 B2'  
X:1
L:1/8
M:3/4
K:G
 gfed g/f/e/d/ | B2 G2 B2 | gfed g/f/e/d/ | A2 F2 A2 :| GBdBdc | B2 G2 B2 | GBdBcA | A2 F2 A2 :| 
 B2 GcBA | B2 G2 B2 | B2 GcBG | A2 F2 A2 :|  