How the time is converted into distance by multiplying it with 17,000
If you take 340 m/sec (approximate speed of sound through air) and convert to cm/sec you get 34000 cm/sec. For pulse-echo, the sound travels twice the measured distance so you need to divide the conversion factor by 2 so you get 17000 cm/sec. When you multiply by the measured time, you get distance from the transducer to the object in cm.
The other two conversions are converting from time measured in microseconds at the same time so the formua for Distance in centimeters is the same as: Distance (cm) = Time (seconds) * 1000000 (microseconds per second) / 58 which comes out to (approximately) Distance (cm) = Time (seconds) * 17241 which is nearly the same as the formula in your question.
As Andy said, the speeds of sound used in the formulas are approximations. The actual speed of sound through air varies with temperature and (to a lesser extent) with humidity (and a little due to other factors).
Distance in centimeters = Time / 58
Distance in inches = Time / 148
Clearly there is an approximation going on here i.e. 148/58 = 2.5517cm/inch and we know from school that there are exactly 2.54cm to the inch.
OK, if the speed is 340 m/sec that's 34,000 cm per second or 0.034 cm per microsecond but, it's the return journey that is measured in microseconds so the result needs to be divided by 2 and therefore 0.017cm is the distance that the object is away when the echo is received in 1 microsecond and the reciprocal of 0.017 is 58.823. (close to 58)
Maybe they are using 344.8 m/s as speed of sound?
Distance = time * 17000
This one makes no sense until you re-arrange things: - \$\dfrac{distance}{time} = speed = 170m/sec\$
And this is the half the speed of sound.