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
['GABG BddB cdec dBGB ce e2 dBGB', 'G ABc d3 g edBc dG G2']  
X:1
L:1/8
M:4/4
K:G
|: DEF | GABG BddB | cdec dBGB | ce e2 dBGB | AGFE DEFD | GABG BddB | cdec dBGB | ce e2 dBGB | 
 AGFA G :: ABc | d3 g edBc | dG G2 dGBG | eg g2 edBd | eaag agef | gdBA GABG | cABG AGED | 
 EGce dBGB | AGFA G :|  