Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:6/8
K:Bb
['TB3 |{c} BAB def', 'fgf fgf fga bag fed cdB'  
X:1
L:1/8
M:6/8
K:Bb
 F |{c} TB3 TB3 |{c} BAB def |{c} TB3{c} B3 | GcB AGF |{c} TB3{c} TB3 |{c} BAB def | gab fed | 
 cdB AGF :: def fgf | fgf fed | efg gag | gag gfe | def fgf | fgf fga | bag fed | cdB AGF :|  