First part of trip a canoeist travels with the speed X mph, the second part- X-5 mph.

The time he spent, traveling 26 miles is 26 / X, and 8 /X-5

total time he spent 3 hr

26 / X + 8/X-5 = 3

3 X2 - 49 X+130=0

need to find roots of this equation

that is one speed

and x - 5 the second speed