Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/8
M:2/2
K:Bb
['(Bd)gb (Acf).a (GBe).g .f(cBA) .B(GFE) .B(FED) A,B', 'B2 (d/c/B)', 'B,2 bfdB fdBF Gc=Bd cBcG bagf edcB'  
X:1
L:1/8
M:2/2
K:Bb
 (Bd)gb (Acf).a | (GBe).g .f(cBA) | .B(GFE) .B(FED) | A,B A/B/c/A/ B2 B,2 :: B2 (d/c/B) fBdB | 
 Fc A/B/c/A/ Fc A/B/c/A/ | B2 (d/c/B) fBgB | GB A/B/c/A/ B2 B,2 :: bfdB fdBF | Gc=Bd cBcG | 
 bagf edcB | FB A/B/c/A/ B2 B,2 :|  