Megan started biking to the internet cafe traveling 9 mph, after some time the bike got a flat so Megan walked the rest of the way, traveling 7 mph. If the total trip to the internet cafe took 9 hours and it was 75 miles away, how long did Megan travel at each speed