Ramesh drives from his home at a speed of 40 km/h and reaches his college 25 minutes late. The next day he increases his speed by 10 km/h, yet he is late by 10 minutes. How far is his college from his home?