Create a musical composition based on the alphabetic representation of the predetermined pattern and the given melodic theme.
X:1
L:1/8
M:4/4
K:Amix
['EAAG EGDG EA A2 fAeA EAAG EDEF', 'A2 eA fAeA']  
X:1
L:1/8
M:4/4
K:Amix
 EAAG EGDG | EA A2 fAeA | EAAG EDEF | G2 BG dGBG :| A2 eA fAeA | fAeA dBGB | A2 eA fAeA | 
 dcdB GABG | A2 eA fAeA | fAeA dBGB | edef gfge | dcdB GABG :|  