Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
Q:1/8=120
M:6/8
K:Bb
['d>ed fdB G2 A']  
X:1
L:1/8
Q:1/8=120
M:6/8
K:Bb
 f/e/ | d>ed fdB | G2 A B2 d | ege dfd | (dc).A Ffe | d>ed fdB | G2 A (Bbg) | fdB FGA | c3 B2 | | 
 (A/B/) | cff f=ed |{d} c2 B Acf | b2 g a2 f | (ag).=e (cd)B | Aff f=ed | caa agf | gbg =ece | 
 (g3 f)g"^DC"e |]  