Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:6/8
K:G
['G2 G', 'A2 G FED |[M:9/8] E2 E E2'  
X:1
L:1/8
M:6/8
K:G
 D | G2 G D2 D | E2 E D2 D | D2 D G2 G | c2 B B AA | B2 A B2 A | B2 c d2 d | G2 G c2 B | :| 
 A2 G FED |[M:9/8] E2 E E2 F FED |[M:6/8] D2 G A2 B | G4- G |]  