.
Let "u" be the speed of the boat when there is no sea current, in km/h.
Let "v" be the speed of the current.
Then your "speed" (= "rate") equations are
= u + v (1) (effective speed with the current)
= u - v (2) ( - - - " - - - against the current)
Simplify:
u + v = 24 (3)
u - v = 18 (4)
---------------------Add the equations (3) and (4) to get
2u = 24 + 18 = 42 ====> u = = 21.
Then from eq(3) v = 24 - 21 = 3.
Answer. The speed of the boat when there is no sea current is 21 km/h.
The speed of the current is 3 km/h.
Check. Check it on your own. It will help you to better understand the problem and the solution.
--------------
It is a typical and standard Upstream and Downstream round trip word problem.
You can find many similar fully solved problems on upstream and downstream round trips with detailed solutions in lessons
- Wind and Current problems
- More problems on upstream and downstream round trips
- Wind and Current problems solvable by quadratic equations
- Unpowered raft floating downstream along a river
- Selected problems from the archive on the boat floating Upstream and Downstream
in this site.
Read them attentively and learn how to solve this type of problems once and for all.
Also, you have this free of charge online textbook in ALGEBRA-I in this site
- ALGEBRA-I - YOUR ONLINE TEXTBOOK.
The referred lessons are the part of this textbook under the section "Word problems", the topic "Travel and Distance problems".
Save the link to this online textbook together with its description
Free of charge online textbook in ALGEBRA-I
https://www.algebra.com/algebra/homework/quadratic/lessons/ALGEBRA-I-YOUR-ONLINE-TEXTBOOK.lesson
to your archive and use it when it is needed.