The brakes of a car are applied, causing it to slow down at a rate of $10 \mathrm{ft} / \mathrm{s}^{2} .$ Knowing that the car stops in $300 \mathrm{ft}$, determine $(a)$ how fast the car was traveling immediately before the brakes were applied, $(b)$ the time required for the car to stop.