Can someone explain how this math works? Point A to B velocity calculation.

I agree especially physics, real world examples go a long way