.
I will show you absolutely unexpected way to solve the problem
(which you did not expect to see).
For the way to school (consisting of two equal parts), you can calculate the average speed on this part
of the traveled distance using the formula
v = = km/h.
Now you have two other equal parts: the way to there and the way back.
These ways are of the same length, so you can apply similar formula for the entire trip to school and back
w = .
I leave calculations to you.
As the answer, you should get the same number as other tutors produced in their posts.
Regarding the formula, see my post at the link
https://www.algebra.com/algebra/homework/word/misc/Miscellaneous_Word_Problems.faq.question.1183833.html
See also the lessons
- Calculating an average speed: a train going from A to B and back
- One more problem on calculating an average speed
in this site.