Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/4
M:4/4
K:G
['G B/B/ A c B d']  
X:1
L:1/4
M:4/4
K:G
 G B/B/ A c | B d d2 | e e d B | A G A2 | G B/B/ A c | B d d e/f/ | g d B G | A2 G ||  