if you change your perspective so that the water looks stationary, what you have a boat attached to a bar on a trolley that spans the river travelling up the river, by that perspective you can see the boat is actually just a loosely connected rudder on the trolley, and the boat jus travels a long but straight angled line across the river. it does make sense,  and shifting your perspective mightve aided in finding the simpler solution on your own.