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
['BdB GBd cBA E2 G FEF', 'ded def gfg b2 g'  
X:1
L:1/8
M:6/8
K:G
 BdB GBd | cBA E2 G | FEF DFA | GBG D2 c | BdB GBd | cBA E2 G | FEF AGF | G3 G3 :| ded def | 
 gfg b2 g | fef A2 B | c3 B2 c | ded def | gfg b2 g | fed cAF | G3 G3 :|  