Construct a musical work using the letter-based representation of the specified pattern and the given melodic subject.
X:1
L:1/8
M:3/4
K:Amin
['e a>g (3efe B2- B>c (3ABA ^G>A', '[cE]>[cE] [cE]>[BE] [BE]>d c>B A>^G A>B c>d']  
X:1
L:1/8
M:3/4
K:Amin
|: e | a>g (3efe B2- | B>c (3ABA ^G>A | B>d (3cAc (3BA^G | (3AB^c e3 e | a>g (3efe B2- | 
 B>c (3ABA ^G>A | B>d (3cAc (3BA^G | (3AB=c A3 :: [EA,]- | [EA,]>[cE] [cE]>[cE] [cE]>[cE] | 
 [cE]>[BE] [BE]>d c>B | A>^G A>B c>d | (3e^fg (3fe^d f>e | [EA,]>[cE]- (3[cE]z[cE] [cE]>[cE] | 
 [cE]>[BE] [BE]>d c>B | A>^G A>B c>d | (3e^fg (3fe^d [ee]2- | [ee]>=d (3cdc (3BA^G | (3ABc A3 :|  