The first move must always be of length : otherwise, if the thief’s speed is , we can never catch them. Subsequently attempt to catch at speeds . At second (counting from 0) step to
where pos is our current position and is the current target speed of the thief.