Wendy took a trip from one city to another, a distance of 540 mi. she traveled part of the way by bus, which arrived at the train station just in time for wendy to complete her journey by train. the bus averaged 40 mi/h, and the train averaged 110 mi/h. the entire trip took 6 1 2 h. how long did wendy spend on the train?