Develop musical compositions in line with the specified format and incorporating the provided musical theme.
X:1
L:1/8
M:2/4
K:D
['B AF ED'  
X:1
L:1/8
M:2/4
K:D
|: B |"D" AF ED |"G" G3 B |"D" AF ED |"A7" E3 B |"D" AF ED |"G" GA Bd |"D" AF"A7" dF |"D" D3 :: | 
 f |"D" d>e fd |"A7" gf ec |"D" d>e fd |"A7" ec BA |"D" d>e fd |"G" gf eg |"D" fa"A7" e>f | 
"D" d3 ::  