A hunter is at a point along a river bank. He wants to get to his cabin, located 5 miles north and 7 miles west. (See figure.) He can travel 5 mph along the river but only 2 mph on the rocky land. How far upriver should he go in order to reach the cabin in minimum time?