I can't solve this exercise, it's intended for ~13 year olds, so you can't use rational equations.

Here it is: A motor boat swam 45 km in the river in 3 hours, and back in 5 hours.

a) what is the speed of the river flow?

b) what is the speed of the motor boat?