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
['dc B3 A Bd', 'A3 AGF E4 B2 B3 B AG'  
X:1
L:1/8
M:3/4
K:G
|: z dc | B3 A Bd | G4 dc | B3 A Bd | E4- EG | A3 B cd | B3 G FG | EF G2 A2 | A3 :: AGF | E4 B2 | 
 B3 B AG | F4 B2 | B4 GF | E4 c2 | c3 c dc | B3 A Bd | A3 :|  