Answer
$4$ hours
Work Step by Step
Let $x$ be the time she spent on the train in hours, then she spent $5.5-x$ hours on the bus. Then the equation for her journey is: $60x+40(5.5-x)=300\\60x+220-40x=300\\20x=80\\x=4$
Thus she spent $4$ hours on the train.