Develop a musical composition by integrating the alphabetically represented musical pattern and the supplied melodic theme.
X:1
L:1/8
M:2/2
K:G
['G3 E', 'g3 e', '(3Bcd eaaf gfef |1 dedc BG (3Bcd']  
X:1
L:1/8
M:2/2
K:G
 edBA G3 A | B2 Ad BE E2 |1 G3 E DEGA | AGdB A2 Bd :|2 G3 E DEGB | dBAd BG G2 |: dedc BG (3Bcd | 
 e2 af gfef |1 dedc BG (3Bcd | egfa g3 e :|2 d2 df e3 g | fgaf g3 e |:"^variations" edBA G3 A | 
 BdAc BEEF |1 GAGE DEGA | BGdB A2 (3Bcd :|2 G3 E DEGB | dBAc BG G2 |: d3 c BG (3Bcd | eaaf gfef |1 
 dedc BG (3Bcd | egfa g3 e :|2 d2 df e3 g | fgaf g2 (3Bcd ||  