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:
[tex]\begin{gathered} 8+h<20\\ \\ h<20-8\\ \\ h<12 \end{gathered}[/tex]Therefore the correct option is the fourth one.