Compose a piece of music that adheres to the specified alphabetical framework and includes the provided theme.
X:1
L:1/8
M:4/4
K:D
['d>B A>AA>B', 'f>g a>fg>e f>ag>e f>dg>d B2', 'd>B A>AA>B G>GG>B', 'f>g a>AA>a f>ag>e f>dg>d B2']  
X:1
L:1/8
M:4/4
K:D
|: d>B | A>AA>B G>Bd>B | A>ed>A B2 d>B | A>AA>B d>ef>a | g2 B2 B2 d>B | A>AA>B G>Bd>B | 
 A>ed>A B2 A>B | d>dd>f e>de>a | f2 d2 d2 :| f>g | a>fg>e f>ag>e | f>dg>d B2 d>B | A>AA>B d>ef>a | 
 g2 B2 B2 f>g | a>fg>e f>ag>e | f>dg>d B2 A>B | d>dd>f e>de>a | f2 d2 d2 f>g | a>fg>e f>ag>e | 
 f>dg>d B2 d>B | A>AA>B d>ef>a | g2 B2 B2 d>B | A>AA>B G>Bd>B | A>ed>A B2 A>B | d>dd>f e>de>a | 
 f2 d2 d2 |: d>B | A>AA>B G>GG>B | A>AA>f e>de>f | A>AA>B d2 e>f | g>ef>d B2 d>B | A>AA>B G>GG>B | 
 A>af>d B2 A>B | d>dd>f e>de>a | f2 B2 B2 :| f>g | a>AA>a f>ag>e | f>dg>d B2 d>B | A>AA>B d>ef>a | 
 g2 B2 B2 f>g | a>AA>a f>ag>e | f>dg>d B2 A>B | d>dd>f e>de>a | f2 d2 d2 f>g | a>AA>a f>ag>e | 
 f>dg>d B2 d>B | A>AA>B d>ef>a | g2 B2 B2 d>B | G>Bd>B A>ce>c | d>ef>a B2 A>B | d>dd>f e>de>a | 
 f2 d2 d4 ||  