Meg and Tanner take a road trip together where they take turns driving. The ratio of the number of miles that Meg drives to the number of miles that Tanner drives is 4:3. If Meg drives 112 miles, what was the length of the trip?