Develop musical compositions in line with the specified format and incorporating the provided musical theme.
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
['AFE TEFE FED DED AFE EFA BAF', 'd2 e'  
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
 AFE TEFE | FED DED | AFE EFA | BAF dAF | AFE EFE | FED D2 d | cBA BAF | B2 A Bcd :: d2 e fdB | 
 c2 d ecA | d2 e fed | f2 e fga | d2 e fdB | c2 d ecA | dcB cBA | B2 A Bcd :|  