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
['e2 dc', 'B2 e/f/g ag fgfg e2'  
X:1
L:1/8
M:4/4
K:D
 e3 f d2 ef | e2 dc B2 B2 | edef dfaf | e2 dc B2 B2 :| e/f/g ag fgfg | e2 d/e/f e2 B2 | 
 e/f/g ag fgfg | e2 df e2 e2 :|  