Create a musical composition using the given alphabetical pattern and melodic theme.
X:1
L:1/4
M:3/4
K:G
['E D G A B']  
X:1
L:1/4
M:3/4
K:G
|: D | E G E | D G A | B d B | A2 B/A/ | G E E | D G A | B G G | G2 :|  