Construct a musical work using the letter-based representation of the specified pattern and the given melodic subject.
X:1
L:1/8
M:3/4
K:D
['D3 F A>B A4 d>e f>e d>f', 'd>e f>e d>f e>d']  
X:1
L:1/8
M:3/4
K:D
|: FE | D3 F A>B | A4 d>e | f>e d>f e>d | B4 Bc | d>B A>F A>B | A2 F3 D | G2 F2 D2 | E4 EF/E/ | 
 D3 F A>B | A4 d>e | f>e d>f e>d | B4 B>c | d>B A>F A>B | E4 D2 | E<D D4 | D4 :| d>e | 
 f>e d>f e>d | B4 AB/c/ | d2 d>e f>g | e4 d>e | f>e d>f e>d | B3 g f>g | f3 g f>g | e4 d>c | 
 d2 D>F d>B | A4 d>e | f>e d>f e>d | B4 B>c | d>B A>F A>B | E4 D2 | E<D D4 | D4 :|  