Suppose I have a truck which is $\Delta x$ meters long driving at $v=c/5$ and at $t=0$ a ligt beam hits the rear end of the truck.
I would now like to calculate the time it takes for the light to reach the front end of the truck for a resting observer.
Knowing that the truck gets Lorentz contracted for the resting observer I tried to calculate the time as follows: $$\Delta t=\frac{\Delta x}{\gamma (c-v)}$$
Sadly I'm not sure if calculating the relative speed by simply substracting the two speeds is allowed here because wer're dealing with relativistic speeds.
Or do I need to use the relativistic velocity addition formula in this case? Would be great if someone could help me out here!