Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:4/4
K:G
['d g>fga gfed']  
X:1
L:1/8
M:4/4
K:G
 G | d>edB e>fge | dBAB G z2 d | g>fga gfed | edgB c2 z d | g>fga gfed | edcB e2 z f | 
 g>fed e>f!fermata!ge | dBAB (G2 G) ||  