Construct a musical piece that follows the designated lettered structure and integrates the provided motif throughout.
X:1
L:1/4
M:3/4
K:G
['_B2 B']  
X:1
L:1/4
M:3/4
K:G
 =F/F/ | _B2 B | A2 A | G2 G | =F2 F | _B2 B | d2 c | c/4 d2- d3/4 | z2 _B/c/ | d3/2 d/ d | 
 _e d c | d2- d/>G/ | G2 z | G3 | A3 | A2 _B | c2 d | _B A G | A2 A | G2 |]  