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
['Aeed cA c2 Bggd BGBd A/B/c/d/ eAcA', 'cAce a/g/f/e/ fd ce c2 Bggd BGBd']  
X:1
L:1/8
M:4/4
K:Amix
 Aeed cA c2 | Bggd BGBd | A/B/c/d/ eAcA c2 | Aaae cAce :| a/g/f/e/ fd ce c2 | Bggd BGBd | 
 a/g/f/e/ ca eaca | Aaca eAce | a/g/f/e/ ae fdec | BggdBGBd | A/B/c/d/ eA cA c2 | Aaae cAce ||  