A train travelling 150 kms meets with an accident and after that proceeds with 3/5 th of its speed and arrives at the destination 8 hours late. Had the accident occurred 360 km farther, the delay would be four hours. What is the total distance travelled?