Half mass times velocity square. So a small difference in speed makes up for a large difference in weight. All else being equal, there are a pile of variables, reaction time (in the case of the motorcycle) rider skill, surface conditions. Another fun one. If you ever plot that out, you lose the lesser half of your speed in the last two vehicle lengths, so as speed increases coming up a vehicle length short is more painful the faster you are going.