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
['d>B AF']  
X:1
L:1/8
M:2/4
K:D
 D | A3 B | AG FE | DD d>B | AF GE | DD d>B | AF GB | AF E>D | D2 z A | d2 d2 | c3 c | Bd cB | 
 ^A3 A | Bc d>c | de f2 | Ac B>A | A3 A | A3 B | AG FE | D>D d>B | AF GE | D>D d>B | AF GB | 
 AF E>D | !fermata!D3 ||  