A formula for approximating the stopping distance, $d$, in feet, for a specific car on snow is $d=\frac{1}{6} x^{2}$, where $x$ is the speed of the car, in miles per hour, before the brakes are applied. If the car's stopping distance was 24 feet, what was the car's speed before the brakes were applied?