Construct a musical work using the letter-based representation of the specified pattern and the given melodic subject.
X:1
L:1/8
M:6/8
K:G
['EAA ABd', 'gef g2']  
X:1
L:1/8
M:6/8
K:G
 EAA ABd | edB c2 A | BGG DGG | Bdc BAG | EAA ABd | ede a2 e | edc Bcd | ecA A2 :| gef g2 a | 
 gef g2 d | BGG DGG | B/c/dc BAG |1 gef g2 a | gef g2 d | edc Bcd | ecA A2 :|2 EAA ABd | ede a2 e | 
 edc Bcd | ecA A2 ||  