Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/16
Q:1/4=80
M:4/4
K:G
['B2>A2 B4 FGAB d4 g2>e2f2e2']  
X:1
L:1/16
Q:1/4=80
M:4/4
K:G
 GABcd2g2 e2fed2gd | c2BAB2d2 edcB A4 | GABcd2g2 e2fed2gd | c2BAB2d2 cBAF G4 | B2>A2 B4 FGAB d4 | 
 g2>e2f2e2 ecefe2d2 | B2>A2 B4 FGAB d4 | g2>e2f2e2 dcBA G4 |]  