Develop a musical composition by integrating the alphabetically represented musical pattern and the supplied melodic theme.
X:1
L:1/8
M:4/4
K:Edor
['G B', 'E3 E G G F E e2', 'G B', 'G B', 'E G G F E e2 e', 'E D']  
X:1
L:1/8
M:4/4
K:Edor
 G | B B A B | G B A/G/ E | D G E D | E3 |: E | G G F E | e2 !fermata!d e |"^(a)" B/c/ d B A | 
 B3 :| G | B B A B | G B A/G/ E | D G E D | E3 || G | B B A B | G B A/G/ E | D G E D | E3 |: E | 
 G G F E | e2 !fermata!d e |"^(a) var." B d B A | B3 :| G | B B A B | G B A/G/ E | D G E D | E3 |]  