Manuel traveled 3 hours nonstop to​ mexico, a total of 106 miles. he took a train part of the​ way, which averaged 40​mph, and then took a bus the remaining​ distance, which averaged 30mph. how long was manuel on the​ train?