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
['B3 cBc', 'g3 def g2 a bag']  
X:1
L:1/8
M:6/8
K:G
|: B3 cBc | ded cAG | F2 D DED | DGG FGA | B3 cBc | dcA d2 e | fed cAF | AGF G3 :: g3 def | 
 g2 a bag | f3 def | afd cAB | g3 def | g2 a bag | fed cAF | AGF G3 :|  