After travelling for 30 minutes a train meets an accident, due to which it has to stop for 45 minutes. Due to the accident its speed is also reduced to 23 of its former value and the train reaches its destination 1 hour 30 minutes late. Had the accident occurred 60 km later, the train would have reached 30 minutes earlier. The length of journey is