Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:2/4
K:Gmix
['d GG/G/ GA/B/']  
X:1
L:1/8
M:2/4
K:Gmix
 d | GG/G/ GA/B/ | c>B A B/d/ | f>e d>G |{G} AGG d | GG/G/ GA/B/ | c/d/c/B/ A B/d/ | f>e dG | 
 G2 z |]  