Two motorists drove their cars at a speed of 45 km per hour and 50 km per hour respectively. One car took 10 minutes longer than the other to travel a distance. Find the distance travelled.