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
['e>dB>d e>de>g B2B>A G>FG>A', 'B2G2G2 g>f e3/2gf>^d B2g>f e>gf>^d B2g>f e>^de>f'  
X:1
L:1/16
M:2/4
K:G
 d2 | g>fe>d e>dB>d | e>de>g B2B>A | G>FG>A B>AB>d | e2A2A2d2 | g3/2fe>d e>dB>d | e>de>g B2B>A | 
 G>FG>A B>dA>c | B2G2G2 :: g>f | e3/2gf>^d B2g>f | e>gf>^d B2g>f | e>^de>f g>fg>a | b>ag>f e2g>a | 
 b>ag>f g>ag>f e>de>f B2B>A | G>FG>A B>dA>c | B2G2G2 :|  