Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:4/4
K:G
['G d>ed<B e>fg>e d<B A>B G2 (d3/2e/4f/4)']  
X:1
L:1/8
M:4/4
K:G
 G | d>ed<B | e>fg>e | d<B A>B | G2 (d3/2e/4f/4) | g>fg>a gfed | e>dg>B d3 d | g>fga/ gfed | 
 e>dc>B e3 f | g>fe>d e>fg3/2{ab}e | d<BA<B G3 :|  