a boat traveled upstream 90 miles at an average speed of ( v - 3 ) miles per hour and then traveled the same distance downstream at an average speed of ( v + 3 ) miles per hour . if the trip upstream took a half hour longer than the trip downstream , then how many hours did it take the boat to travel downstream ?