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:G
['DEFG A2', 'AS d2 AdBd AB cBcG EF G2']  
X:1
L:1/8
M:4/4
K:G
 E2 | DEFG A2 AF | DEFG AGFE | DEFG A2 AB |1 cBG EFGE :|2 cBcG EF G2 || d2 Ad BdAd | d2 AG FG AS | 
 d2 AdBd AB | cBcG EF G2 | d2 Ad BdAd | d2 AG FG A2 | dBcA BGAB | cBcG EFGE ||  