Wendy took the trip from city A to city B, distance of 210 mi. She traveled part of way by bus, that arrived at train station just in time for Wendy to complete the journey by train. Bus averaged 50 mi/h, and train averaged 85 mi/h. Entire trip took 3 1/2 h. How long did Wendy spend on train?