Let the speed of the boat = p kmph
Let the speed of the river flow = q kmph
From the given data,
=> 56p - 56q -28p - 28q = 0
=> 28p = 84q
=> p = 3q.
Now, given that if
Hence, the speed of the boat = p kmph = 9 kmph and the speed of the river flow = q kmph = 3 kmph.