Let's use the variable x to represent the time on the train and y to represent the time on the bus.
If the total time is 4 hours, we have:

If the total distance is 135 miles, we have:

From the first equation, we have y = 4 - x.
Using this value in the second equation, we have:

Therefore Manuel was on the train for 1.5 hours.