Create a musical composition based on the alphabetic representation of the predetermined pattern and the given melodic theme.
X:1
L:1/8
M:6/8
K:G
['DDD D2', 'EFG AAA dAG FFF GEA DDD DFA']  
X:1
L:1/8
M:6/8
K:G
"Am" AAA AGE |"G" GED D3 |"Am" cBc ded |"G" cAG FED |"Am" AAA AGE |"D" FFF"^(""C""^)" GEA | 
"D" DDD DFA |1 DDD D2 B :|2 DDD D2 A/B/ |:"Am" c3 cAB | cAG ABc |"D" ded ded | dcA DFA | 
"Am" c2 A d2 B | cAG FGE |"D" DDD DFA |1 DDD D2 A/B/ :|2 DDD D2 e |:"D" fdd"G" gee | 
"D" fdd"G" ged |"A" cde ged | cde ged |"D" fdd"G" gee |"D" fdd"G" ged |"A" cde"Em" gag |1 
"A" ed^c"D" d2 e :|2"A" ed^c"D" d2 B |:"D" AAA AGE | FFF FED |"C" EEE EFD |"A" EEE EFG | 
"D" AAA dAG | FFF GEA | DDD DFA |1 DDD D2 B :|2 DDD D3 |]  