Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:4/4
K:G
['GFED (3EFG', 'G4 g3 e fedf efge fedf eB'  
X:1
L:1/8
M:4/4
K:G
|: A3 F GFED | (3EFG AB c2 BA | GBdg egdB | GBAF GFED | (3EFG AF GFED | (3EFG AB c2 BA | 
 GBdB AcBA | GEDE G4 :: g3 e fedf | efge fedf | eB B2 efge | fdef gdef | gbag eage | dBBA BAGF | 
 GBdB AcBA | GEDE G4 :|  