Time = 23 seconds
To calculate the lightning distance in kilometres, divide the time by 5.
lightning distance = 23/5
lightning distance = 4.6 km.