Put both spheres at the origin of the path. Let them start at the same time. Which one comes in first?