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
['G GBdB ecdB ddcA GBAD GGAd B2']  
X:1
L:1/8
M:2/4
K:G
 G | GBdB | ecdB | ddcA | GBAD | GGAd | B2 AF | G2 z |]  