Time taken by Rohit to reach school from home = 30 min
Speed by which Rohit reaches school = 18 km/h
Converting the time taken from minutes to hours:
Time taken = 30 min = 30/60= 0.5 h
Distance travelled = speed × time taken
= 18 km/h × 0.5 h
= 9 km
Therefore, the distance between Rohit's school and his house is 9 km.