If the guy on the train throws the ball backwards at u'=-.99c, then relative to someone on the ground, the ball will appear to be moving at a speed slightly less than .99c. This is because the train is already moving at v=.5c, so when the ball is thrown backwards, its overall velocity will be slightly less than .99c in the opposite direction.
To get an approximate answer without using the velocity addition formula, we can estimate that the ball will be moving at a speed of approximately .49c relative to someone on the ground. This is because the train is moving at .5c, so the ball's velocity in the opposite direction will be slightly less than .99c. And since .5c is half of c, we can estimate that the ball's velocity will also be half of .99c, which is .49c.
However, to get a more precise answer, we can use the velocity addition formula to calculate the exact velocity of the ball relative to someone on the ground. This formula is u=(u'+v)/(1+uv/c^2), where u' is the velocity of the ball relative to the train, v is the velocity of the train, and c is the speed of light. Plugging in the values, we get u=(-.99c+.5c)/(1+(-.99c)(.5c)/c^2) = -.49c/(1-.495) = -.49c/0.505 = -.97c.
Therefore, the guy on the ground will see the ball moving at a speed of approximately -.97c, which is slightly less than the estimated speed of .49c. This shows that even though the ball is thrown backwards on a train moving at a high speed, its overall velocity relative to someone on the ground will still be less than the speed of light.