A motorboat heads upstream on a river that has a current of 3 miles per hour. the trip upstream takes 5 hours, and the return trip takes 2.5 hours. what is the speed of the motorboat? (assume that the motorboat maintains a constant speed relative to the water.)