Answer:
18 km
Step-by-step explanation:
Let 'd' be the distance between his house and office.
Normal time taken to reach the office = 'x' hours.
If speed is 24 km/h, time is increased by 5 minutes.
If speed is 30 km/h, time is reduced by 4 minutes.
We know that,
Time taken = Distance traveled ÷ Speed
So, when speed is 24 km/hr, time is increased by 5 minutes.

So, time is

Therefore,

Now, when speed is 30 km/h, time is reduced by 4 minutes or

So, time now is

Again using the time formula, we have

Equations (1) and (2) are equal. So,

Therefore, the office is 18 km from his house.