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:Amix
['A2 e<A (3Bcd', 'a2 e<a (3Bcd e>f']  
X:1
L:1/8
M:4/4
K:Amix
 A2 e<A (3Bcd e>f | g2 d<g B<g d<B | A2 e<A (3Bcd ef | (3gfe (3dcB (3cde (3dcB | A2 e<A (3Bcd e>f | 
 g2 d<g B<g d<B | A2 e<A (3Bcd e>f | g>fg<B B<A A2 || a2 e<a (3Bcd e>f | g2 d<g B<g d<g | 
 a2 e<a (3Bcd e>f | g>fg<B B<A A2 | a2 e<a (3Bcd e>f | g2 d<g B<g d<g | b>ga>f g>fe<d | 
 (3gfe (3dcB (3cde (3dcB ||  