Construct a musical work using the letter-based representation of the specified pattern and the given melodic subject.
X:1
L:1/8
M:2/4
K:Amin
['B3 c d2 ed', 'A2 A4 F3 ^A c2 ^AF B3', 'ed c3 d e2 fe d2 B2']  
X:1
L:1/8
M:2/4
K:Amin
"^Am""E7" E3 ^G | B2 ^GE |"Am" A3 B | c2 BA |"E7" B3 c | d2 ed |"Am" c2 A2 | A4 |]:"Dm" d3 f | 
 a2 gf |"Am" e3 c | e2 dc |"E7" B3 c | d2 ed |"Am" c2 A2 | A4 :|[K:Bmin]"^Bm""F7" F3 ^A | c2 ^AF | 
"Bm" B3 c | d2 cB |"F7" c3 d | e2 fe |"Bm" d2 B2 | B4 |]:"Em" e3 g | b2 ag |"Bm" f3 d | f2 ed | 
"F7" c3 d | e2 fe |"Bm" d2 B2 | B4 :|  