Construct a musical piece that follows the designated lettered structure and integrates the provided motif throughout.
X:1
L:1/8
M:6/8
K:G
['G2 g de=f edB', 'B2 B{d} cBc d2 e =fed cAA{B}']  
X:1
L:1/8
M:6/8
K:G
 G | DGG{B} AGG | cAF G2 g | de=f edB | cAA A2 F | DGG{B} AGG | cAG/F/ G2 g | de=f edB | cA^F G2 || 
 A | B2 B{d} cBc | d2 e =fed | cAA{B} A2 G | cAA{B} A2 G | B2 B{d} cBc | d2 e =fed | cAA{B} AG^F | 
 AGG G2 ||  