Develop a musical composition using the outlined alphabetical depiction of the structure and the provided theme.
X:1
L:1/4
M:4/4
K:G
['e d']  
X:1
L:1/4
M:4/4
K:G
 d | d d e d | c2 c B | c B A A | B2 z A | A B c d | e2 e d | c B A A | G2 z e | e e d c | 
 B A B d | e e d c | B A B d | f e d ^c | d2 z e | f e d ^c | d2 z B | B A B c | d2 A B | B A B c | 
 d2 A c | B c A A | G2 z |]  