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:Emin
['EB B2 ABcA', 'AGFG E2']  
X:1
L:1/8
M:4/4
K:Emin
|: EB B2 ABcA | BAGB AGFG | EB B2 ABcA | Beed e3 f | g3 f gfed | eB B2 cA A2 | BABc BAGB | 
 AGFG E2 FA :: G2 BG dGBG | A2 cA eAcA | B2 dB fBdB | c2 ec gcec | g3 f gfed | eB B2 cA A2 | 
 BABc BAGB |1 AGFG E2 fA :|2 AGFG E2 E2 ||  