Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:4/4
K:G
['=FDCA, G,2 GF GABc', 'gd (3ddd gdad gdde'  
X:1
L:1/8
M:4/4
K:G
 BAGB AGFD | GFGD =FDCA, | G,2 GF GABc | d2 ge =fdcA | BAGB AGFD | GFGD =FDCA, | G,2 GF GABc | 
 (3dcB cA BG G2 | [BG]2 [BG]2 [AF]2 [AF]2 | GBAG =FDCA, | G,2 GF GABc | d2 ge =fdcA | BccB BAGF | 
 GBAG =FDCA, | G,2 GF GABc | (3dcB cA BG G2 |: dggf gd (3ddd | gdad gdde | =f2 ge fcce | 
 =fgag fdcA | fggf gd (3ddd | gdad gdde | =fefa gfga | bgag =fdcA :|  