Construct a musical work using the letter-based representation of the specified pattern and the given melodic subject.
X:1
L:1/8
M:2/2
K:G
['B>G (3GGG', 'bgfg egdg']  
X:1
L:1/8
M:2/2
K:G
 c | B>G (3GGG Bcdc | BGBd eAAc | B>G (3GGG BcdB | dega bg g :| | a | bgfg egdg | cBcd eAAg | 
 bgfg egdg | egfa bgga | bgfg egdg | cBcd eAAc | BGGB cAAg | fdef g2 z ||  