A and B start at the same time with speeds of 40 km /hr and 50 km/hr respectively. If in covering the journey A takes 15 minutes longer than B, the total distance of the journey is -