We know from physics class that the formula for distance of a linear motion is given as:
d = v t
Where,
d = distance travelled
v = average velocity
t = time it took to reach the destination
Since the distance going to the office and back is just similar, therefore we can simply equate the two:
v1 t1 = v2 t2
Where 1 signifies going to the office and 2 signifies going back from the office. Therefore this yields to:
v1 * 5 hours = 65 mph * 4 hours
v1 = 52 mph
Answer: The average speed going to the office is 52 mph.