Construct a musical work using the letter-based representation of the specified pattern and the given melodic subject.
X:1
L:1/4
M:3/2
K:G
['g2 f g e2 f d d', 'G B']  
X:1
L:1/4
M:3/2
K:G
 g2 f g e2 | f d d f e d | c g B g A c | B G G B A G/ || B/ | G B d G B G | F A A c c B/A/ | 
 G B d G B G | D G G B A G ||  