Maria's family drove 140 mi to her grandparents' house and averaged 56 ​ mi/h ​ on the way there. On the return trip, they averaged 50 mi/h . What was the total time Maria's family spent driving to and from her grandparents' house?