Construct a musical work using the letter-based representation of the specified pattern and the given melodic subject.
X:1
L:1/8
M:4/4
K:G
['GBdB Gcec', 'gfgd edeB']  
X:1
L:1/8
M:4/4
K:G
 D | GBdB Gcec | GBdB AFED | GBdB Gcec | dcBA B2 G :: f | gfgd edeB | cBcA a2 ef | gfgd edeB | 
 cBAd B2 G :|  