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:A
['', 'af ecBe cAAA BccB ceaf ecBe cAAB', 'a3 f ecBc ecaf', 'cffe f2']  
X:1
L:1/8
M:4/4
K:A
 af |: ecBe cAAA | BccB ceaf | ecBe cAAB | cffe fgaf :| e3 f a3 f | ecBc ecaf | ecea afec | 
 cffe fgaf | ecef a3 f | ecBc ecaf | ecBe cAAB | cffe f2 z2 |: B3 c A3 B | c2 cB ceaf | 
 ecBe cAAB |1 cffe f2 ef :|2 cffe f2 ef ||  