We can solve the problem by using the basic relationship between space (S), time (t) and velocity (v) of the uniform motion:

The duration of the first part of the trip is

And the velocity is

So we can find the distance covered during the first part of the trip by rearranging the previous equation:

The duration of the second part of the trip is 15 minutes (because the duration of the total trip is 30 minutes, and the duration of the first part is 15 minutes), so

and the velocity is

Therefore, the distance covered in this second part of the trip is

So, the total distance between the home and the school is
