Two boats on opposite sides of a river head towards each other at different speeds. When they pass each other the first time they are 700 yards from one shoreline. They continue to the opposite shoreline, turn around, and move towards each other again. When they pass the second time they are 300 yards from the other shoreline.
How wide is the river? (Assume both boats travel at a constant speed and ignore factors such as turn-around time and the current of the river).