Develop musical compositions in line with the specified format and incorporating the provided musical theme.
X:1
L:1/4
M:3/4
K:D
['f d']  
X:1
L:1/4
M:3/4
K:D
 f | f d f | f2 d | g f d | f2 f | g3/2 f/ g | f f d | c3- | c f g | a a a | a2 g | f f d | f2 d | 
 A d A | G3/2 A/ G | F3- | F2 :|  