Compose a piece of music that adheres to the specified alphabetical framework and includes the provided theme.
X:1
L:1/4
Q:1/4=100
M:4/4
K:D
['B A']  
X:1
L:1/4
Q:1/4=100
M:4/4
K:D
 A3/2 F/ B A | F d c B | A3/2 B/ c d | e c B A | f3/2 e/ d F | d3/2 c/ c B | A d F B | A3/2 G/ F2 | 
 D3/2 E/ F D | A2 e2 | d4 |]  