Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:2/2
K:G
['G>DB>G d>Bg>d b>g (3ded c>BA>G', 'G2 g2 b>gd>B G>Bd>g a>fc>A F>Ac>f a>gb>a'  
X:1
L:1/8
M:2/2
K:G
 (3(DEF) | G>DB>G d>Bg>d | b>g (3ded c>BA>G | .F(d^cd) .A(dcd) | d>ce>d c>AF>D | G>DB>G d>Bg>d | 
 b>g (3ded c>BA>G | f>ec>A e>dB>G | (3FGA (2:3:2DEF G2 :: g2 | b>gd>B G>Bd>g | a>fc>A F>Ac>f | 
 a>gb>a c'>ba>g | f>ed>c B>AG>F | G>Dc>G d>Bg>d | b>g (3ded c>BA>G | f>ec>A e>dB>G | 
 (3FGA (3DEF G2 :|  