how to find wavelength with distance and time