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
['A3 AdB AFA', 'Adf a3 abf']  
X:1
L:1/8
M:6/8
K:D
 A3 AdB | AFA D3 | AFA gfe | fdB BAF | A3 AdB | AFA D2 f | gfe fed | edB BdB :| Adf a3 | abf a3 | 
 Adf a2 f | gfe fdB | Adf a3 | abf a2 f | gfe fed | edB BdB :|  