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
['G2 G2', 'A2 A2'  
X:1
L:1/8
M:4/4
K:G
|: (3DEF | G2 G2 G2 (3ABc | d>cB>A G>A (3BAG | A2 A2 A2 e>d | c>BA>G F>AD>F | G2 (3GGG G2 B>c | 
 d>c (3cBA G2 g2 | f>af>d (3efg e>^c | d>A (3GFE D2 :: F>G | A2 A2 A2 (3ABc | d>BA>G F>AF>D | 
 d2 d2 d2 (3def | g>ed>c (3Bcd B>G | e2 c2 G2 (3gfe | d2 B2 G>gg>d | e>cG>c B>A (3AGF | 
 G>d (3cBA G2 :|  