A student walks to school at the rate of 7.5km/hr and reaches 10 minutes late.If he travels at the speed of 10km/hr he is 10 minutes early .What is the distance to the school?