I can't figure this one out

During a trip, a canoe travles 47 miles at r speed. The second part of the trip the canoe travels 9 miles, but 5 mph slower. The total trip is 5 hrs. What is the speed of each part of the trip?

I start with 47/r+9/r-5=5hrs
Then I multiply both sides by the LCD?
r(r-5)(47/r+9/r-5)=5
47(r-5)+9r=5r(r-5)
47r-???+9r=3r^2? I am lost here

Maybe-

47x5r=235?
47r-235+9r=5r-4r?
Quadratic-
5r^2-60r+235=0???