Answer:
The speed of the boat in still water is 4 km per hour
Explanation:
Let
s ---> the total speed of the boat in km/h
x ----> the speed of the boat in still water in km/h
t ----> the time in hours
d ---> the distance in km
Remember that the speed is equal to the distance divided by the time
so
The time is the distance divided by the speed
so
Down the river
![t=(d)/(s)](https://img.qammunity.org/2021/formulas/mathematics/middle-school/dr21dc8riffitfyo4az5x17f46kxna2uxs.png)
we have
![d=12\ km\\s=(x+2)\ km/h](https://img.qammunity.org/2021/formulas/mathematics/middle-school/k93cwupl9nlacpfzzaeik0u1dye4308v3q.png)
Remember that the speed of the boat down the river is equal to the speed of the boat in still water plus the speed of the current
substitute
----> equation A
Up the river
![t=(d)/(s)](https://img.qammunity.org/2021/formulas/mathematics/middle-school/dr21dc8riffitfyo4az5x17f46kxna2uxs.png)
we have
![d=4\ km\\s=(x-2)\ km/h](https://img.qammunity.org/2021/formulas/mathematics/middle-school/j7a7hznjgo1xslon78j8035a12ibqjmg2g.png)
Remember that the speed of the boat up the river is equal to the speed of the boat in still water minus the speed of the current
substitute
----> equation B
Equate equation A and equation B
![(12)/(x+2)=(4)/(x-2)](https://img.qammunity.org/2021/formulas/mathematics/middle-school/b74oi4s6h4e1f910nuyqpzdtmwje1vepzp.png)
solve for x
Multiply in cross
![12(x-2)=4(x+2)\\12x-24=4x+8\\12x-4x=24+8\\8x=32\\x=4\ km/h](https://img.qammunity.org/2021/formulas/mathematics/middle-school/upz7gzzen0p2zgzumdvg3pvc5utkgrco22.png)
therefore
The speed of the boat in still water is 4 km per hour