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/4
K:G
['', 'G2 Bd', 'ed B2 Bd B/A/G A2 B2 BA']  
X:1
L:1/8
M:2/4
K:G
 D |: G2 Bd | gd ed | G2 Bd | eB d2 | G2 Bd | gd ed | e/f/g/e/ dB |1 DE GD :|2 DE GA |: B2 BA | 
 Bd ed | B2 Bd | B/A/G A2 | B2 BA | Bd ed | e/f/g/e/ dB |1 DE GA :|2 DE G2 ||  