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
['AF F2', 'g2 ag f2 eg'  
X:1
L:1/8
M:4/4
K:D
 B | AF F2 AFBF | AFDE FE E2 | AF F2 BFAF | EADE FD D2 | AF F2 AFBF | AFDE FEEF | G3 E F2 AF | 
 EADE FDD || A | d3 f a3 g | f2 ef dBBA | dcdf a2 fa | bgeg fddA | dfaf g2 ag | f2 eg fBBA | 
 dcdf g2 ag | f2 eg fdd ||  