Develop musical compositions in line with the specified format and incorporating the provided musical theme.
X:1
L:1/8
M:3/4
K:D
['d4 fa g2 eg f2 D4 FA']  
X:1
L:1/8
M:3/4
K:D
 d4 fa | g2 eg f2 | D4 FA | G2 EG F2 | A2 b2 ab | Tg4 f2 | ed c2 df | e6 :|  