25 points for this question.
A tourist first walked 17 km with a speed of v km/h. Then he hiked 12 km uphill with the speed that was 2 km/hour less than his original speed. The whole trip took him t hours.
How much time did the tourist spend on this trip if his original speed was 5 km/h?