Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:4/4
K:G
['G2 BG', 'g2 bg'  
X:1
L:1/8
M:4/4
K:G
|: G2 BG | BddB | c2 ec eggB | G2 BG Bcdg | edcB A2 G2 :| g2 bg afed | edef gdBG | g2 bg agfd | 
 edef g2 ga | bagf gfed | edef gdBG | cBcd efge | dcBA G2 G2 |]  