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 (3BAG dBga bgdB cBAG', 'G2 ga bgdB GBdg afcA FAcf fgab'  
X:1
L:1/8
M:4/4
K:G
|: cB/A/ | G2 (3BAG dBga | bgdB cBAG | Fd^cd Ad^cd | (3d^cd cA FDEF | G2 (3BAG dBga | bgdB cBAG | 
 fecA edBG | (3FGA (3DEF G2 :: ga | bgdB GBdg | afcA FAcf | fgab c'3 b | agfe (3ded (3cBA | 
 G2 (3BAG dBga | bgdB cBAG | fecA edBG | (3FGA (3DEF G2 :|  