Please explain how to solve this problem

A motorboat can maintain a constant speed of 45 miles per hour relative to the water. The boat makes a trip upstream to a certain point in 34 ​minutes; the return trip takes 26 minutes. What is the speed of the​ current?

The speed of the current is _ ​mile(s) per hour.