The train already traveled 8 hours and will travel more h hours, so the total amount of hours will be 8 + h.
Then, if this amount of hours is less than 20 hours, we can write the following inequality and solve it for h:
Therefore the correct option is the fourth one.