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
['B2 z']  
X:1
L:1/8
M:3/4
K:G
 GGB | d3 ded | B2 z dge | d2 BBcd | B2 z BBB | A2 d2 ee/d/ | B2 z dge | d2 Bded | G2 z BBB | 
 A2 d2 ee/d/ | B2 z dge | d2 Bded | G2 z |]  