Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:4/4
K:G
['G2 BG dBgB ecAd GFED ECB,C A,2', 'G4 G,A,B,C DEFG ABcD B2 G2 BcAF'  
X:1
L:1/8
M:4/4
K:G
 G2 BG dBgB | ecAd GFED | ECB,C A,2 AB | cABG GFED | G2 BG dBgB | ecAd GFED | ECB,C A,2 AB | 
 cAGF G4 || G,A,B,C DEFG | ABcD B2 G2 | BcAF G2 ef | ged^c d4 | dBgd =cBed | cBAG FEDC | 
 B,DGD CEAc | BAGF G2 z2 ||  