Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
Q:3/8=120
M:6/8
K:G
['D GAG GAB ded dBG BAB AFD', 'def g2 e'  
X:1
L:1/8
Q:3/8=120
M:6/8
K:G
 D | GAG GAB | ded dBG | BAB AFD | EFE E2 D | GAG GAB | ded dBG | BAB AFD | E3 G2 :: e | def g2 e | 
 fed edB | def g2 e | afd e2 f | def g2 e | f2 d efg | dBG GAB | ded dBG | BAB AFD | EFE E2 D | 
 GAG GAB | ded dBG | BAB AFD | D3 G2 :|  