Construct a musical work using the letter-based representation of the specified pattern and the given melodic subject.
X:1
L:1/8
M:4/4
K:Bb
['B3 F (AG)(FE) (E<D) z F', '(d<c)(c>e) (d<B)(G>e) (d3/2e/4f/4) cd e3 d (d/c/e/d/cB)']  
X:1
L:1/8
M:4/4
K:Bb
 (B>c) |{B} d3 (c/B/A){c} B3 F | (AG)(FE) (E<D) z F | D<F (Bc){Bc} d2 (cB) | (B2 c2) z2 B>c | 
{B} d3 (c/B/A/){c} B3 F | (AG)(FE) (E<D) z F | (D>F) (Bd) (f<d){d}(c>d) | 
{c} B4 (3Bcd{!fermata!cB} z2 || z d |{d} f2 (ed) (d<c)(c>e) | (d<B)(G>e) (d3/2e/4f/4) cd | 
{f} e3 d (d/c/e/d/cB) | (B2 c2) z2 B>c |{B} d2 (c/B/A/){c} B3 F | (AG)(FE) (E<D) z F | 
 (D<F) (Bd) (f<d){d}c>d |{c} B4 Bcd{!fermata!dc} z2 ||  