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:A
['B A F2 B']  
X:1
L:1/8
M:2/4
K:A
 A3/2 B/ c c | c B3 | e2 c B | A F2 B | A F2 B | A4 | A3/2 B/ c B | c B3 | e2 A F | E C2 F | E3 F | 
 E4 |]  