Construct a musical work using the letter-based representation of the specified pattern and the given melodic subject.
X:1
L:1/16
M:2/4
K:G
['e4 efed']  
X:1
L:1/16
M:2/4
K:G
 eeeee2 z2 | G2GA e4 | efed e4 | efed A4 | eeeee2 z2 | e2BAA2G2 | ee2eeeed | egBABAG2 | eeeee2dd | 
 egedBAG2 | eeeee2 z2 | A2AB e4 | efed e4 | efed A4 | ee2ee2dd | d2deB2A2 | eee2eeee | d2BABAG2 | 
 ee2de2de | d2B2d2A2 | eeeee2 z2 | A2AB e4 | efed e4 | efed A4 |]  