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/8=180
M:4/4
K:G
['G2 BG dGBG', 'gdBd edBd']  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
 G2 BG dGBG | FADA FADA | G2 BG dGBG | egfa gedB | G2 BG dGBG | FADA FADA | G2 BG dGBG | egfa g4 || 
 gdBd edBd | gabg agef | gdBd edBd | egaf g3 f | gabg efge | dedc BGBd | e2 eg edBd | egfa gedB |]  