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/c/) (dB).G (e/f/g).e (dB).G (A/B/).cA (Bd).g (f/g/a).f', 'g2 g/a/ bgb afa geg fed (e/f/g).f'  
X:1
L:1/8
M:6/8
K:G
 (B/c/) |: (dB).G (e/f/g).e | (dB).G (A/B/).cA | (Bd).g (f/g/a).f | g3- g2 :: g/a/ | bgb afa | 
 geg fed | (e/f/g).f ed^c | dAF D2 c/d/ | ece dBd | cAc BAG | (Bd).g (f/g/a).f | gdB G2 :|  