DD.36 Library between school and station

Taro and Jiro left the school at the same time and went to the station through the front of library.
Taro ran to the library and walked at 40 m/m from there up to the station.
Jiro walked with the speed of 1/3 of the speed which Taro ran up to the library and arrived at the library 8 minutes later than Taro.
From there, he walked faster by 10 m/m than before.
Then, Taro and Jiro arrived at the station at the same time 20 minutes after leaving the school.
Find the distance from the school to the library, and the distance from the library to the station.



Answer
840 m from the school to the library
640 m from the library to the station