The speed of a boat in still water is 3 miles per hour. If the boat travels 5 miles downstream in the same amount of time it takes to travel 0.5 miles upstream, what is the speed of the current?