Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:2/4
K:D
['FFAF E2']  
X:1
L:1/8
M:2/4
K:D
 D/E/ | FFFF | EDDD/E/ | FFAF | E2 DD/E/ | FFFF | EDED/E/ | FFFF | EDED/E/ | FFAF | E2 D |]  