Your first thought was 50km/h, wasn't it?
It is a wrong answer.
An experienced teacher would immediately understand the cause of this mistake.
You calculated the arithmetic mean, not the average speed.Asking questions and giving hints, a good teacher leads the student to the correct answer, and then make sure that the student can solve a similar task on his own.