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
['c/B/A/G/ FA', 'g>a bb'  
X:1
L:1/8
M:2/4
K:G
 b/a/ | gG c/B/A/G/ | FA Ab/a/ | gG Bd | g2 a/g/f/e/ | dG c/B/A/G/ | FA AB | EF/G/ DE/F/ | G2 G |] 
 d | g>a bg | a/g/f/e/ d>d | g>a bb | ba ad | g>a bb | be eb | ad f/g/a/f/ | g2 g |]  