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
['A A F', 'd d'  
X:1
L:1/4
M:3/4
K:D
 (d/e/) | f3/2 e/ d | d B A | A F A | A F (d/e/) | f3/2 e/ d | d a f | f e3/2 e/ | e2 (d/e/) | 
 f3/2 e/ d | d B A | A F A | A F A | d a f | e3/2 d/ e | f d d | d2 || (A/G/) | F A d | d f d | 
 A c e/e/ | e g A/G/ | F A d | d a3/2 f/ | f e e | e2 f/g/ | a f d | d f d | e c A | A3/2 B/ G | 
 F A d | e3/2 d/ e | f d d | d2 ||  