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:D
['e f2 d dcd Bgg Aff Gee', 'fdB B^AB dcB fdB cAF', 'ecA f2 d dcd Bgg Aff Gee']  
X:1
L:1/8
M:6/8
K:D
 e | f2 d dcd | Bgg Aff | Gee Fdd | eca bag | fed dB=c | BgB AfA | GeG FAd | cBc d2 :| fdB B^AB | 
 dcB fdB | cAF edc | fgf edc | fdB B^AB | dcB fdB | cAF fag | fed ecA || f2 d dcd | Bgg Aff | 
 Gee Fdd | eca bag | fed dB=c | BgB AfA | GeG FAd | cBc d2 :|  