Step 1: Express stopping distance from kinematics instead of pure energy bookkeeping.
Using $v^2 = u^2 - 2aS$ with the bus coming to rest, $S = \frac{v^2}{2a}$, where $a$ is the deceleration produced by the retarding force.
Step 2: Bring in mass and kinetic energy separately.
Since $v^2 = \frac{2K}{m}$ (from $K=\frac{1}{2}mv^2$) and $a=\frac{F}{m}$ (from Newton's second law), substituting both into the distance formula gives \[ S = \frac{2K/m}{2F/m} = \frac{K}{F} \]
Step 3: Notice the mass cancels.
The mass $m$ drops out entirely, so $S$ depends only on the (equal) kinetic energy $K$ and the (equal) retarding force $F$ for both buses.
\[ \boxed{S_1 = S_2} \]