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
['ABcA FGAF GBdg', 'G2 Bc dedc BcdB efg ed cdef']  
X:1
L:1/8
M:4/4
K:G
 (3DEF | GABG EF (3GFE | ABcA FGAF | GBdg ecAG | FGAF DEFD | GABG EFGE | ABcA FGAF | GBdg ecAF | 
 G2 GF G2 :: Bc | dedc BcdB | efg ed cdef | g3 d ecAG | FGAF DE (3FED | GABG EF (3GAG | ABcA FGAF | 
 GBdg ecAF | G2 GF G2 :|  