A police car waits in hiding slightly off the highway. A speeding car is spotted by the police car doing $40 \mathrm{m} / \mathrm{s}$. At the instant the speeding car passes the police car, the police car accelerates from rest at $4 \mathrm{m} / \mathrm{s}^{2}$ to catch the speeding car. How long does it take the police car to catch the speeding car?