Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:4/4
K:Edor
['DEFD BEEF', 'dB B2'  
X:1
L:1/8
M:4/4
K:Edor
 BEEF DEFD | BEEF DB A2 | BEEF DEFA | BAdB AFED | BEEA DEFD | BEEF D2 BA | BEEF DEFA | 
 BcdB A2 Bc || dB B2 dBAB | dB B2 e2 fe | dB B2 dBAd | BcdB A2 Bc | dB B2 dBAB | dB B2 e2 de | 
 fdef dB A2 | BcdB AFED ||  