Answer:
70 kmph
Step-by-step explanation:
Speed =

Distance is the total length of the path irrespective of the direction.
S = 30 km + 40 km
S = 70 km
Duration is the time taken to move from the initial point to the final point
t = 25 min + 35 min
t = 60 min
t = 1 hour
Speed =

