Construct a musical work using the letter-based representation of the specified pattern and the given melodic subject.
X:1
L:1/8
M:6/8
K:A
['E ABA ABc dec Bcd ecA ecA', 'ecA ecA']  
X:1
L:1/8
M:6/8
K:A
 E | ABA ABc | dec Bcd | ecA ecA | F2 G A2 :| c | BGE EBc | dcB c2 d | ecA ecA | dec B2 E | 
 ABA ABc | dec Bcd | ecA ecA | E2 G A2 ||  