Final answer:
Olga's speed was 6 km/hour.
Step-by-step explanation:
To find Olga's speed, we need to determine the total distance Anna walked to school and back. Since she walked at a speed of 3 km/hour, and the time spent walking is the same as the time Anna spent walking to school and back, we can use the formula:
Total Distance = Speed * Time
Let's denote Olga's speed as 'x' km/hour.
For Anna's trip to school, she walked a distance of 3 km at a speed of 3 km/hour. So, her time is:
Time = Distance / Speed = 3 km / 3 km/hour = 1 hour
For Anna's trip back home, she ran at a speed of 6 km/hour. So, her time is:
Time = Distance / Speed = Distance / 6 km/hour = 1 hour
Since Olga spent the same amount of time on the road as Anna, her total distance is 3 km (one way) + 3 km (for the return) = 6 km.
Using the formula for total distance:
Total Distance = Speed * Time
6 km = x km/hour * 1 hour
Therefore, Olga's speed is 6 km/hour.