Yolanda's boat has a top speed of 9 miles per hour in still water. While traveling on a river at top speed, she went 10 miles upstream in the same amount of time she went 20 miles downstream. Find the rate of the river current.