Step 1: Using the relation for stopping distance.
The stopping distance is proportional to the square of the speed. Hence, if the stopping distance for a speed \( v_1 \) is \( d_1 \), then for a speed \( v_2 \), the stopping distance \( d_2 \) is given by:
\[
\frac{d_2}{d_1} = \left( \frac{v_2}{v_1} \right)^2
\]
Substituting the given values:
\[
\frac{d_2}{5} = \left( \frac{45}{15} \right)^2 = 9 \Rightarrow d_2 = 45 \, \text{m}
\]
Step 2: Conclusion.
The correct answer is (B), 45 m.