Develop musical compositions in line with the specified format and incorporating the provided musical theme.
X:1
L:1/8
M:4/4
K:D
['|{AB} d>BAF', '|{c} d>BAF D/D/D'  
X:1
L:1/8
M:4/4
K:D
 B |{AB} d>BAF A/A/A AB |{AB} d>BAF E/E/E Ec |{c} d>BAF Agf>e | d>BAF E/E/E E :| g | 
 f<df<a e<gf>e | fdfa B/B/B Bf | d/e/f/g/ af{f} e>def |{c} d>BAF D/D/D Dg | f<df<a e<gf>e | 
 f<df<a B/B/B B>g | f<da<f e<gf>e |{c} d>BAF D/D/D D |]  