Given that:
- Megan cycles from home to school at a speed of 16 kilometers per hour.
- Megan cycles back on the same route at a speed of 15 kilometers per hour.
- The total time is:

You know that "d" represents the distance (in kilometers) from Megan's house to school.
1. In order to solve this exercise, you need to remember the following formula:

Where "d" is distance, "V" is speed, and "t" is time.
2. In this case, you know that from home to school the speed (in kilometers per hour) is:

And from school to home:

3. By definition:

Where "d" is distance, "V" is speed, and "t" is time.
4. Then, from home to school you can set up that time taken is:

5. Since she took the same route, the distance from school to home is the same as the distance from home to school. Then:

6. Then total time can be represented as:

Knowing the value of the total time, you get this equation that can be used to find the distance "d" :

7. Since:

You can rewrite the equation in this form:

8. Now you can solve for "d":



9. Having the distance from school to home and from home to school, you can set up this equation for the total distance (in kilometers):

10. Substituting the value of "d" into the equation, you get:

Hence, the answer is:
- Equation:

- Total distance:
![D=120\operatorname{km}]()