If person A is traveling at speed [itex]v_A[/itex] relative to you and throws object B directly away from you at speed [itex]v_B[/itex] relative to himself, that object will have speed, relative to you,
[tex]\frac{v_A+ v_B}{1+ \frac{v_Av_B}{c^2}}[/tex]
Note that, whatever [itex]v_A[/itex] is, if [itex]v_B= c[/itex], that will give
[tex]\frac{v_A+ c}{1+ \frac{v_A}{c}}[/tex]
multiplying both numerator and denominator by c, we have
[tex]\frac{c(v_A+ c)}{c+ v_A}= c[/tex]
So no matter how fast A is moving relative to you, if he shines a light ahead of himself, it will have speed c relative to both of you.