Time of flight:
The finsl distance of the cat from the wall:
The firefighter need to run away from the building with speed: