A rabbit and a tortoise are in a race. The tortoise, being the slower of the two, is given a headstart. The rabbit runs at a speed of 40 mi/h and the tortoise at 10 mi/h. If the rabbit catches up with the tortoise in 2 minutes, how much of a headstart did the tortoise get?