Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
M:2/4
K:G
['D/E/4F/4 G3 D G z B{A}(3G/A/G/ E3-', '.G z'  
X:1
L:1/8
M:2/4
K:G
 D/E/4F/4 | G3 D | G z B{A}(3G/A/G/ | E3- E/G/ | E z A{B}A/G/ | FD FD | F z (3F/4G/4F/4E/D/ | 
 D<G- GD | B z z :: G/4A/4B/4^c/4 | d3 A | d z .f.d | B3 G | B z .d.B | G7/4B/4 G7/4B/4 | 
 .G.B (3A/B/A/G | .FA- A>B | .A z DE/F/ | G3 D | .G z BG | E3- E>G | E z A{B}A/G/ | FD FD | 
 F z (3F/G/F/E | DG- GD | .G z z :|  