Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
Q:1/8=100
M:6/8
K:Bb
['d/e/ fdB G2 c/d/ ecA B2 d/e/', 'fgf bag'  
X:1
L:1/8
Q:1/8=100
M:6/8
K:Bb
"^primo" d/e/ | fdB G2 c/d/ | ecA B2 d/e/ | fed gec | B3 A2 B/c/ | dBG ecA | fdB gab | fdB BAc | 
 g3 g2 :: f | fgf bag | fdd fdd | fgf bag | f3 dgf | =ecc fcc | ffg agf | dgf =ed=e | 
 g3 ff/g/f/e/ | dBB BGG | GFF F2 d | dcc Bdf | g3 f2 g/a/ | bdd def | gcc cde | fBB fed | c3 B2 |]  