Construct a musical piece that follows the designated lettered structure and integrates the provided motif throughout.
X:1
L:1/8
M:4/4
K:G
['GABc dBeB dgfg bgdB (3cBA dc (3BAG', 'defg (3agf (3bag (3agf (3gfe dgdB AcBA']  
X:1
L:1/8
M:4/4
K:G
|: GABc dBeB | dgfg bgdB | (3cBA dc (3BAG dB | (3ABA (3GFE DcBA | GABc dBeB | dgfg bgdB | 
 (3cBA dc (3BAG AF |1 GBAF GDEF :|2 GBAF G2 fg |: ag (3fgf defg | (3agf (3gfe defg | 
 (3agf (3bag (3agf (3gfe | dgdB AcBA | GABc dBeB | dgfg bgdB | (3cBA dc (3BAG AF |1 GBAF G2 fg :|2 
 GBAF G4 ||  