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:Bmin
['B2 dB', 'd2 Af ddfd']  
X:1
L:1/8
M:4/4
K:Bmin
 z | B2 dB cAAc | B2 dB f2 ec | BcdB cAAc | dfec B2 Bf | B2 dB cAAc | B2 dB f2 ec | Bcde fdec | 
 dfed B2 || Bc | d2 Af ddfd | a2 af efec | d2 Af ddfd | cAec B2 Bc | d2 Af ddfd | a2 af efec | 
 defd edcA | dfec B2 ||  