The distance S is affected by the car speed (call this V) when it hits the bottom of the ramp.
V, in turn, is determined by the ramp height H, because as the car rolls down the ramp, the potential energy at the top (mgH) is converted to kinetic energy at the bottom (1/2 * mV^2).
As H increases, so does V, and so does S.
V, in turn, is determined by the ramp height H, because as the car rolls down the ramp, the potential energy at the top (mgH) is converted to kinetic energy at the bottom (1/2 * mV^2).
As H increases, so does V, and so does S.