Construct a musical work using the letter-based representation of the specified pattern and the given melodic subject.
X:1
L:1/8
Q:1/4=86
M:2/4
K:G
['GBdg gfac cBdG BAGF GBdg gfed', 'd4 afdf g.dBG ecAG GFED GBdg gfaB']  
X:1
L:1/8
Q:1/4=86
M:2/4
K:G
 GBdg | gfac | cBdG | BAGF | GBdg | gfed | fed^c | d4 :| afdf | g.dBG | ecAG | GFED | GBdg | gfaB | 
 cAGF | G4 :|  