Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:4/4
K:C
['[M:2/2][K:G] .abc B d2 (GA) Bdg(e de)d(B', 'BGG f (g2 b)g (3(efg) d(f gd)B(G'  
X:1
L:1/8
M:4/4
K:C
[M:2/2][K:G] .abc B | d2 (GA) Bdg(e | de)d(B AG)EG | D(GBG) dGBG | ceg(e dc)Bc | d(GBd) g(dBd) | 
 gdb((ga)g)ef | ga (3(gfe) dBg(e | dBA)c BGG || f | (g2 b)g (3(efg) d(f | gd)B(G AG)EG | 
 D(GBG) dGBG | ceg(e dc)Bd | g2 (bg) edg(e | dB)GB (AG)EG | D(GBd) ged(e | d)BAc BGG |]  