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:G
['G2 B d2 d gfe d3 cdc', 'B3 B3 BAB c3 B2']  
X:1
L:1/8
M:6/8
K:G
|: G2 B d2 d | gfe d3 | cdc BcB | AGA B2 G | G2 B d2 d | gfe d3 | cdc BcB | AGA G3 :: B3 B3 | 
 BAB c3 | B2 c d2 c | B2 A B2 G | B3 B3 | BAB c3 | B2 g dBG | A3 G3 :|  