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:Bb
['E D/E/FF', 'B,2 f f>gf{a} b2 f d3 B2'  
X:1
L:1/8
M:6/8
K:Bb
 E | D/E/FF F2 B | GEG F2 E | D/E/FF FBd | d3 c2 E | D/E/FF F2 B | GEG F2 g | fdB ecA | B3 B,2 || 
 f | f>gf{a} b2 f | d3 B2 d | c>dc{e} f2 c | A3 FGA | B3 GAB | c3 ABc | def fed | cBA GF!D.C.! ||  