Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/4
M:3/4
K:G
['G B', 'G B'  
X:1
L:1/4
M:3/4
K:G
 (G2 B) | D3 | G B e | d3 | d g B | (e2 d) | A3 | (c2 B) | (G2 B) | D3 | G B e | d3 | g G B | 
 d D B | A3 | G2 z |] (e2 g) | B3 | f g f | e3 | e B c | A B G | A F G | (E2 F) | (G2 B) | D3 | 
 G B e | d3 | g G B | d D B | A3 | G2 z |]  