It took John 12 hours riding his bike to make the round trip to his uncle's. If he averaged 20 mph out and 30 mph back, how long did he travel each way? (Round answer to nearest tenth.)