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:F
['agf efd cdB A2 F ABc f3', 'AFA ABc']  
X:1
L:1/8
M:6/8
K:F
 agf efd | cdB A2 F | ABc f3 | cef g3 | aba gaf | efd c2 A | ABc def | gfe f3 :: AFA ABc | 
 BGB Bcd | AFA ABc | BGg f3 | AFA ABc | BGB Bcd | egf eag | cfe f3 :|  