Assuming both drive at the same speed and have the same brakes (you have to assume something), actual distance you need is «reaction time times speed when starting to brake» which is linear in speed, and even constant when measured in time. (politics.stackexchange.com)