A man walks at a rate of 10mph.After every ten miles, he rest for 6minutes. How much time does he take to walk 50miles?