How to use this calculator
Measure both positions along the wall from the same zero point. Measure both distances from the wall at right angles. The result is a position along the wall.
Formula
x = xs + (xl − xs) · ys/(ys + yl); Δt = (sreflected − sdirect)/c