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
['B dBG', 'deg aga bge', 'B2 G A2 G'  
X:1
L:1/8
M:6/8
K:G
|: B | dBG BAG | dBG G2 B | dBG AGE | GFD D2 B | dBG BAG | BdB BAG | AGA BAB | GED D2 :: B | 
 deg aga | bge edB | deg aga | bge ega | bag age | ged ege | dBG AGE | GED D2 :: c | B2 G A2 G | 
 B2 D D2 c | BAG AGE | GED Ddc | B2 G A2 G | BdB BAG | AGA BAB | GED D3 :|  