How are redshift, temperature, distance and time related?